From 8e449d6184412867c0403f1ee9a2f874746b5ca7 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Fri, 4 Sep 2009 20:16:30 -0500 Subject: [PATCH] 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. --- src/voicecall.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; }