summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis Kenzior <denis.kenzior@intel.com>2009-09-04 20:16:30 -0500
committerDenis Kenzior <denkenz@gmail.com>2009-09-04 20:37:50 -0500
commit8e449d6184412867c0403f1ee9a2f874746b5ca7 (patch)
treee1948ec83541801091abf9c853b853cf738b1baa
parent88ebea5aca0cf9a45e85d03a07119c403494634c (diff)
downloadofono-8e449d6184412867c0403f1ee9a2f874746b5ca7.tar.bz2
Some modems don't return from ATD until connected
Yet they send progress indications all the way up to connected, which breaks the current logic.
-rw-r--r--src/voicecall.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/voicecall.c b/src/voicecall.c
index 20b6a7f4..bc6986c5 100644
--- a/src/voicecall.c
+++ b/src/voicecall.c
@@ -1459,7 +1459,8 @@ static void dial_callback(const struct ofono_error *error, void *data)
struct voicecall *v = l->data;
if (v->call->status == CALL_STATUS_DIALING ||
- v->call->status == CALL_STATUS_ALERTING)
+ v->call->status == CALL_STATUS_ALERTING ||
+ v->call->status == CALL_STATUS_ACTIVE)
break;
}