From d4a8cc2955f76fbb78518ec70285afc81a1aee4e Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Sun, 29 Aug 2021 13:28:31 +0200 Subject: [PATCH] hfp_ag: reduce requirements for ag_send_common_codec --- src/classic/hfp_ag.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/classic/hfp_ag.c b/src/classic/hfp_ag.c index 1321b65be..c59be2871 100644 --- a/src/classic/hfp_ag.c +++ b/src/classic/hfp_ag.c @@ -2229,7 +2229,7 @@ static void hfp_ag_run_for_context(hfp_connection_t *hfp_connection){ } // trigger codec exchange (must be before hfp_ag_run_for_audio_connection) - if (!cmd_sent && (hfp_connection->command == HFP_CMD_NONE) && hfp_connection->trigger_codec_exchange){ + if (hfp_connection->trigger_codec_exchange){ switch (hfp_connection->codecs_state){ case HFP_CODECS_IDLE: case HFP_CODECS_RECEIVED_LIST: