summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBeniamino Galvani <bgalvani@redhat.com>2016-12-30 10:20:28 +0100
committerBeniamino Galvani <bgalvani@redhat.com>2016-12-30 10:48:50 +0100
commit7ff89d6fab6fefc02b9148e37831278183563a64 (patch)
tree0ba99dd91890260b28dfb1c98230d0aa360ea5da
parenta2936f0ee5296f97a6c3fb9cba9ac88673c6a33f (diff)
downloadnetwork-manager-applet-bg/mm-device-race-bgo776384.tar.gz
device-broadband: check that the ModemManager is actually runningbg/mm-device-race-bgo776384
Previously we only checked the existence of the proxy; we should instead verify that MM is actually running.
-rw-r--r--src/applet-device-broadband.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/applet-device-broadband.c b/src/applet-device-broadband.c
index 585166fe..4929d34a 100644
--- a/src/applet-device-broadband.c
+++ b/src/applet-device-broadband.c
@@ -1012,7 +1012,7 @@ device_added (NMDevice *device,
if (g_object_get_data (G_OBJECT (modem), BROADBAND_INFO_TAG))
return;
- if (!applet->mm1) {
+ if (!applet->mm1_running) {
g_warning ("Cannot grab information for modem at %s: No ModemManager support",
nm_device_get_udi (device));
return;