mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-31 19:30:11 +01:00
Ensure transition to UNAVAILABLE when supplicant goes away
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3787 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
parent
65758f7ffb
commit
217c697dc1
1 changed files with 3 additions and 3 deletions
|
|
@ -2240,10 +2240,10 @@ supplicant_mgr_state_cb_handler (gpointer user_data)
|
|||
if (priv->supplicant.iface) {
|
||||
cleanup_association_attempt (self, FALSE);
|
||||
supplicant_interface_release (self);
|
||||
|
||||
if (nm_device_is_activating (dev))
|
||||
nm_device_state_changed (dev, NM_DEVICE_STATE_UNAVAILABLE);
|
||||
}
|
||||
|
||||
if (nm_device_get_state (dev) > NM_DEVICE_STATE_UNAVAILABLE)
|
||||
nm_device_state_changed (dev, NM_DEVICE_STATE_UNAVAILABLE);
|
||||
} else if (new_state == NM_SUPPLICANT_MANAGER_STATE_IDLE) {
|
||||
dev_state = nm_device_get_state (dev);
|
||||
if ( priv->enabled
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue