From 5589c51d3672c77f6f025b1f6abc2adc428f8ef4 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Fri, 14 Mar 2025 10:17:23 +0100 Subject: [PATCH] hfp_hf: split ag indicator processing from ag indicator reporting --- src/classic/hfp_hf.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/classic/hfp_hf.c b/src/classic/hfp_hf.c index ec0cb8a08..6bba60bef 100644 --- a/src/classic/hfp_hf.c +++ b/src/classic/hfp_hf.c @@ -1385,8 +1385,6 @@ static void hfp_hf_handle_transfer_ag_indicator_status(hfp_connection_t * hfp_co } } } - - hfp_hf_emit_pending_ag_indicator_status_updates(hfp_connection); } static void hfp_hf_handle_rfcomm_command(hfp_connection_t * hfp_connection){ @@ -1498,6 +1496,7 @@ static void hfp_hf_handle_rfcomm_command(hfp_connection_t * hfp_connection){ case HFP_CMD_TRANSFER_AG_INDICATOR_STATUS: hfp_connection->command = HFP_CMD_NONE; hfp_hf_handle_transfer_ag_indicator_status(hfp_connection); + hfp_hf_emit_pending_ag_indicator_status_updates(hfp_connection); break; case HFP_CMD_RETRIEVE_AG_INDICATORS_STATUS: hfp_connection->command = HFP_CMD_NONE;