mbm: Allow mbm modems that don't have GPS

This commit is contained in:
Denis Kenzior 2011-03-01 15:48:55 -06:00
parent 413eb0b8f7
commit 72d1a0ea5c
1 changed files with 1 additions and 1 deletions

View File

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