voicecall: Fix emulator AT+CHUP for HFP
PATCH 1/1 voicecall: Fix emulator AT+CHUP for HFP
AT+CHUP should be able to hang-up active or incoming calls
--- src/voicecall.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
src/voicecall.c +2 -1
@@ -2931,7 +2931,8 @@ static void emulator_chup_cb(struct ofono_emulator *em, goto done; } -if (voicecalls_have_active (vc) == FALSE) +if (voicecalls_have_active (vc) == FALSE && +voicecalls_have_incoming (vc) == FALSE) goto fail; vc->pending_em = em;
Signature · 1 line
1.7.1
Hi Frédéric,
Quoted 5 lines · Frédéric Danis
AT+CHUP should be able to hang-up active or incoming calls
--- src/voicecall.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
Patch has been applied, thanks.
Regards,
-Denis