From f3e773c5646eef8d78872f4b31ac4d3a4725dbb7 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Wed, 6 Dec 2023 11:19:30 +0100 Subject: [PATCH] hfp_gsm_model: also allow to terminate held call --- src/classic/hfp_gsm_model.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/classic/hfp_gsm_model.c b/src/classic/hfp_gsm_model.c index 46c8c5e33..67ce44e29 100644 --- a/src/classic/hfp_gsm_model.c +++ b/src/classic/hfp_gsm_model.c @@ -507,6 +507,11 @@ void hfp_gsm_handler(hfp_ag_call_event_t event, uint8_t index, uint8_t type, con } if (initiated_call_index != -1){ delete_call(initiated_call_index); + break; + } + if (held_call_index != -1) { + delete_call(held_call_index); + break; } break;