packages/net/modemmanager/files
Aleksander Morgado c15e94f6c5 modemmanager: explicitly disconnect even if no bearers found
A network restart where netifd is cleanly restarted involves bringing
the network interfaces down. The 'modemmanager' protocol handler will
run a mmcli --simple-disconnect in this case, but only if there are
bearer objects found.

If the network restart happened *during* the connection attempt
procedure, while the modem is e.g. being registered in the network, no
bearer objects exist yet, and so, we would skip doing anything during
the interface teardown operation. This would lead to the original
connection attempt succeeding, so leaving the modem in ModemManager
in connected state, while the associated interface in netifd is
reported down.

Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
2022-07-05 21:59:51 -07:00
..
usr/sbin modemmanager: remove 2s timeout before reporting cached events 2022-01-13 15:54:02 -08:00
10-report-down modemmanager: report network initiated disconnections to netifd 2022-05-14 21:39:50 -07:00
25-modemmanager-net modemmanager: install common utils in /usr/share/ModemManager 2019-11-27 09:28:10 +01:00
25-modemmanager-tty modemmanager: install common utils in /usr/share/ModemManager 2019-11-27 09:28:10 +01:00
25-modemmanager-usb modemmanager: install common utils in /usr/share/ModemManager 2019-11-27 09:28:10 +01:00
25-modemmanager-wwan modemmanager: add support for wwan subsystem in hotplug 2021-10-19 21:39:26 +02:00
modemmanager.common modemmanager: refactoring hotplug debug logging 2021-12-14 09:17:34 +01:00
modemmanager.init ModemManager: add service options 2021-12-14 09:17:02 +01:00
modemmanager.proto modemmanager: explicitly disconnect even if no bearers found 2022-07-05 21:59:51 -07:00