diff options
Diffstat (limited to 'btif/src/btif_hf.c')
-rwxr-xr-x | btif/src/btif_hf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/btif/src/btif_hf.c b/btif/src/btif_hf.c index 5851efa..bcbf00a 100755 --- a/btif/src/btif_hf.c +++ b/btif/src/btif_hf.c @@ -484,8 +484,8 @@ static bt_status_t init( bthf_callbacks_t* callbacks ) * Internally, the HSP_SERVICE_ID shall also be enabled */ btif_enable_service(BTA_HFP_SERVICE_ID); - btif_hf_cb.call_end_timestamp.tv_sec = 0; - btif_hf_cb.call_end_timestamp.tv_nsec = 0; + memset(&btif_hf_cb, 0, sizeof(btif_hf_cb_t)); + clear_phone_state(); return BT_STATUS_SUCCESS; } |