mirror of
https://gitlab.com/mobian1/eg25-manager.git
synced 2025-08-29 15:22:20 +02:00
Merge branch 'mm-cleanup' into 'master'
mm-iface: clean out modem_iface if mm disappears See merge request mobian1/devices/eg25-manager!17
This commit is contained in:
@@ -183,6 +183,9 @@ static void mm_iface_clean(struct EG25Manager *manager)
|
||||
g_free(manager->modem_usb_id);
|
||||
manager->modem_usb_id = NULL;
|
||||
}
|
||||
if (manager->modem_iface == MODEM_IFACE_MODEMMANAGER) {
|
||||
manager->modem_iface = MODEM_IFACE_NONE;
|
||||
}
|
||||
}
|
||||
|
||||
static void mm_vanished_cb(GDBusConnection *connection,
|
||||
|
Reference in New Issue
Block a user