summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2009-01-08 15:57:39 +0200
committerJohan Hedberg <johan.hedberg@nokia.com>2009-01-08 15:57:39 +0200
commitfbf146827831ed8e3f8067c852fcfc6cef6bedfe (patch)
tree79020a1f7e009ce0e5e9f490eeae74d3a92d15e0
parent4f62cd989705b938cd36535d25439d49146ec4b6 (diff)
Allow ATA to be used for calls in WAITING state too
-rw-r--r--audio/telephony-maemo.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/audio/telephony-maemo.c b/audio/telephony-maemo.c
index 669c7d958..4d134ae69 100644
--- a/audio/telephony-maemo.c
+++ b/audio/telephony-maemo.c
@@ -513,6 +513,9 @@ void telephony_answer_call_req(void *telephony_device)
if (!call)
call = find_call_with_status(CSD_CALL_STATUS_PROCEEDING);
+ if (!call)
+ call = find_call_with_status(CSD_CALL_STATUS_WAITING);
+
if (!call) {
telephony_answer_call_rsp(telephony_device,
CME_ERROR_NOT_ALLOWED);