From: =?unknown-8bit?q?Fr=C3=A9d=C3=A9ric?= Danis <frederic.danis@linux.intel.com>
To: ofono@ofono.org
Subject: [PATCH] voicecall: Fix emulator AT+CHUP for HFP
Date: Thu, 09 Feb 2012 10:12:34 +0100 [thread overview]
Message-ID: <1328778754-5108-1-git-send-email-frederic.danis@linux.intel.com> (raw)
[-- 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
next reply other threads:[~2012-02-09 9:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-09 9:12 =?unknown-8bit?q?Fr=C3=A9d=C3=A9ric?= Danis [this message]
2012-02-09 20:22 ` [PATCH] voicecall: Fix emulator AT+CHUP for HFP Denis Kenzior
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1328778754-5108-1-git-send-email-frederic.danis@linux.intel.com \
--to=frederic.danis@linux.intel.com \
--cc=ofono@ofono.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox