[network-manager-applet/bg/mm-device-race-bgo776384: 4/4] device-broadband: check that the ModemManager is actually running
- From: Beniamino Galvani <bgalvani src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-applet/bg/mm-device-race-bgo776384: 4/4] device-broadband: check that the ModemManager is actually running
- Date: Fri, 30 Dec 2016 09:44:59 +0000 (UTC)
commit e1994a026ab4a56a883ad995bbe4caafb155b97f
Author: Beniamino Galvani <bgalvani redhat com>
Date: Fri Dec 30 10:20:28 2016 +0100
device-broadband: check that the ModemManager is actually running
Previously we only checked the existence of the proxy; we should
instead verify that MM is actually running.
src/applet-device-broadband.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/applet-device-broadband.c b/src/applet-device-broadband.c
index 585166f..4929d34 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]