From 72d1a0ea5c6ea6a7cbad8c1ba81be899f4b7369f Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Tue, 1 Mar 2011 15:48:55 -0600 Subject: mbm: Allow mbm modems that don't have GPS --- plugins/udev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/udev.c') 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); } -- cgit v1.2.3