hfp_ag: reset call state to idle when dropped during call setup

This commit is contained in:
Matthias Ringwald 2018-10-19 13:10:06 +02:00
parent 8336ee1e77
commit 8fd1a22eba

View File

@ -1369,6 +1369,7 @@ static void hfp_ag_call_sm(hfp_ag_call_event_t event, hfp_connection_t * hfp_con
hfp_gsm_handle_event(HFP_AG_CALL_DROPPED);
hfp_ag_set_callsetup_indicator();
hfp_ag_transfer_callsetup_state();
hfp_ag_trigger_terminate_call();a
break;
case HFP_CALL_STATUS_ACTIVE_OR_HELD_CALL_IS_PRESENT:
if (hfp_ag_response_and_hold_active) {