summaryrefslogtreecommitdiff
path: root/lang/python/python-cryptography
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2022-06-13 12:24:43 +0200
committerRosen Penev <rosenp@gmail.com>2022-07-05 21:59:51 -0700
commitc15e94f6c5fbbaedd41fd74b930a2a205f80afc0 (patch)
tree93a6a299b0021193c51a025593aa8238c1380e24 /lang/python/python-cryptography
parent8b5c761c8846e38036df5881babf3bd843133fef (diff)
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>
Diffstat (limited to 'lang/python/python-cryptography')
0 files changed, 0 insertions, 0 deletions