diff options
Diffstat (limited to 'btif')
-rwxr-xr-x | btif/src/btif_core.c | 4 | ||||
-rwxr-xr-x | btif/src/btif_hf.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/btif/src/btif_core.c b/btif/src/btif_core.c index ac2a0aa..62339a9 100755 --- a/btif/src/btif_core.c +++ b/btif/src/btif_core.c @@ -681,6 +681,10 @@ void btif_disable_bluetooth_evt(void) { BTIF_TRACE_DEBUG1("%s", __FUNCTION__); +#if (defined(HCILP_INCLUDED) && HCILP_INCLUDED == TRUE) + bte_main_enable_lpm(FALSE); +#endif + bte_main_disable(); /* update local state */ diff --git a/btif/src/btif_hf.c b/btif/src/btif_hf.c index 49b0257..7ce22b1 100755 --- a/btif/src/btif_hf.c +++ b/btif/src/btif_hf.c @@ -992,7 +992,7 @@ static bt_status_t phone_state_change(int num_active, int num_held, bthf_call_st case BTHF_CALL_STATE_ALERTING: if (num_active > btif_hf_cb.num_active) { - ag_res.audio_handle = btif_hf_cb.handle; + ag_res.audio_handle = BTA_AG_HANDLE_SCO_NO_CHANGE; res = BTA_AG_OUT_CALL_CONN_RES; } else |