mirror of git://git.sysmocom.de/ofono
mbm: Allow mbm modems that don't have GPS
This commit is contained in:
parent
413eb0b8f7
commit
72d1a0ea5c
|
@ -154,7 +154,7 @@ static void add_mbm(struct ofono_modem *modem,
|
|||
network = ofono_modem_get_string(modem, NETWORK_INTERFACE);
|
||||
gps = ofono_modem_get_string(modem, GPS_DEVICE);
|
||||
|
||||
if (device != NULL && data != NULL && network != NULL && gps != NULL) {
|
||||
if (device != NULL && data != NULL && network != NULL) {
|
||||
ofono_modem_set_integer(modem, "Registered", 1);
|
||||
ofono_modem_register(modem);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue