From 31b8688aa926333b35b605c57e1122f30f4f5728 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Fri, 14 Mar 2025 17:12:45 +0100 Subject: [PATCH] hfp: reset context enable_status_update_for_ag_indicators --- src/classic/hfp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/classic/hfp.c b/src/classic/hfp.c index 8fa8c232e..9e5446f32 100644 --- a/src/classic/hfp.c +++ b/src/classic/hfp.c @@ -605,7 +605,6 @@ static void hfp_reset_voice_recognition(hfp_connection_t * hfp_connection){ void hfp_reset_context_flags(hfp_connection_t * hfp_connection){ hfp_connection->establish_audio_connection = 0; - hfp_connection->enable_status_update_for_ag_indicators = 0xFF; hfp_reset_voice_recognition(hfp_connection); } @@ -626,6 +625,7 @@ static hfp_connection_t * create_hfp_connection_context(void){ hfp_connection->command = HFP_CMD_NONE; hfp_connection->extended_audio_gateway_error = 0; + hfp_connection->enable_status_update_for_ag_indicators = 0xFF; // parser hfp_connection->found_equal_sign = false;