mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-20 12:50:33 +01:00
wwan: recheck available connections when modem becomes unlocked (bgo #740966)
NMDevice rechecks available connections when the device moves to the
DISCONNECTED state, but connections are not available if the modem is
PIN locked at that time. Available connections were never re-checked
when the modem was then unlocked while in the DISCONNECTED state.
(cherry picked from commit f3b16fffbd)
This commit is contained in:
parent
b0b8bc814c
commit
b0dc95f816
1 changed files with 3 additions and 0 deletions
|
|
@ -295,6 +295,9 @@ modem_state_cb (NMModem *modem,
|
|||
* device's enabled/disabled state.
|
||||
*/
|
||||
nm_modem_set_mm_enabled (priv->modem, priv->rf_enabled);
|
||||
|
||||
/* Now allow connections without a PIN to be available */
|
||||
nm_device_recheck_available_connections (device);
|
||||
}
|
||||
|
||||
if ((dev_state >= NM_DEVICE_STATE_DISCONNECTED) && !nm_device_is_available (device)) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue