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.
This commit is contained in:
Denis Kenzior 2009-09-04 20:16:30 -05:00 committed by Denis Kenzior
parent 88ebea5aca
commit 8e449d6184
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}