summaryrefslogtreecommitdiffstats
path: root/plugins/udev.c
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2011-03-01 15:48:55 -0600
committerDenis Kenzior <denkenz@gmail.com>2011-03-01 15:48:55 -0600
commit72d1a0ea5c6ea6a7cbad8c1ba81be899f4b7369f (patch)
tree4d87ed9b488a5d24aa1c0e8ec6a26ea5976576a8 /plugins/udev.c
parent413eb0b8f7185e736d228736274e940d8f578c3d (diff)
downloadofono-72d1a0ea5c6ea6a7cbad8c1ba81be899f4b7369f.tar.bz2
mbm: Allow mbm modems that don't have GPS
Diffstat (limited to 'plugins/udev.c')
-rw-r--r--plugins/udev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/udev.c b/plugins/udev.c
index d34cd515..02964d6f 100644
--- a/plugins/udev.c
+++ b/plugins/udev.c
@@ -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);
}