* [PATCH] voicecall: Fix emulator AT+CHUP for HFP
@ 2012-02-09 9:12 =?unknown-8bit?q?Fr=C3=A9d=C3=A9ric?= Danis
2012-02-09 20:22 ` Denis Kenzior
0 siblings, 1 reply; 2+ messages in thread
From: =?unknown-8bit?q?Fr=C3=A9d=C3=A9ric?= Danis @ 2012-02-09 9:12 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 571 bytes --]
AT+CHUP should be able to hang-up active or incoming calls
---
src/voicecall.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/voicecall.c b/src/voicecall.c
index 094f41d..e224d3a 100644
--- a/src/voicecall.c
+++ b/src/voicecall.c
@@ -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;
--
1.7.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] voicecall: Fix emulator AT+CHUP for HFP
2012-02-09 9:12 [PATCH] voicecall: Fix emulator AT+CHUP for HFP =?unknown-8bit?q?Fr=C3=A9d=C3=A9ric?= Danis
@ 2012-02-09 20:22 ` Denis Kenzior
0 siblings, 0 replies; 2+ messages in thread
From: Denis Kenzior @ 2012-02-09 20:22 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 279 bytes --]
Hi Frédéric,
On 02/09/2012 03:12 AM, Frédéric Danis wrote:
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-02-09 20:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-09 9:12 [PATCH] voicecall: Fix emulator AT+CHUP for HFP =?unknown-8bit?q?Fr=C3=A9d=C3=A9ric?= Danis
2012-02-09 20:22 ` Denis Kenzior
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.