mirror of git://git.sysmocom.de/ofono
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:
parent
88ebea5aca
commit
8e449d6184
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue