mirror of
https://gitlab.com/mobian1/eg25-manager.git
synced 2025-08-29 07:12:08 +02:00
mm-iface: clean out modem_iface if mm disappears
otherwise we will be stuck in state where restarting of mm will not reset the modem_iface and it will loop through hard resetting modem
This commit is contained in:
@@ -183,6 +183,9 @@ static void mm_iface_clean(struct EG25Manager *manager)
|
|||||||
g_free(manager->modem_usb_id);
|
g_free(manager->modem_usb_id);
|
||||||
manager->modem_usb_id = NULL;
|
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,
|
static void mm_vanished_cb(GDBusConnection *connection,
|
||||||
|
Reference in New Issue
Block a user