summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/voicecall.c3
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;