mirror of git://git.sysmocom.de/ofono
sap: also accept err = 0 in enable()
This commit is contained in:
parent
0e4a351282
commit
ee2ba5b256
|
@ -154,7 +154,7 @@ static void sap_connect_reply(DBusPendingCall *call, gpointer user_data)
|
|||
data->sap_driver = sap_hw_driver;
|
||||
|
||||
err = data->sap_driver->enable(data->hw_modem, modem, fd);
|
||||
if (err == -EINPROGRESS) {
|
||||
if (!err || err == -EINPROGRESS) {
|
||||
dbus_message_unref(reply);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue