diff options
author | Frédéric Danis <frederic.danis@linux.intel.com> | 2012-02-09 10:12:34 +0100 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2012-02-09 14:21:51 -0600 |
commit | a035f8b0e25a28b569699e6597ba6d54e32c7373 (patch) | |
tree | d844d34131edb85b2e3c7e658b35176d503a90bc | |
parent | d5bdd1f7416bc06aeb1a8f86d37954ee61d32745 (diff) | |
download | ofono-a035f8b0e25a28b569699e6597ba6d54e32c7373.tar.bz2 |
voicecall: Fix emulator AT+CHUP for HFP
AT+CHUP should be able to hang-up active or incoming calls
-rw-r--r-- | src/voicecall.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/voicecall.c b/src/voicecall.c index 094f41d8..e224d3a9 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; |