mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-27 16:20:09 +01:00
device: set the reason for when deactivating for another activation
It's always user requested -- auto activation never happens on already active devices. nm_device_release_one_slave() rightly asserts teardown with (un)configuration does not happen for no reason at all. https://bugzilla.gnome.org/show_bug.cgi?id=744812
This commit is contained in:
parent
d37f2280b7
commit
600489003f
1 changed files with 1 additions and 1 deletions
|
|
@ -5834,7 +5834,7 @@ nm_device_queue_activation (NMDevice *self, NMActRequest *req)
|
|||
_LOGI (LOGD_DEVICE, "disconnecting for new activation request.");
|
||||
nm_device_state_changed (self,
|
||||
NM_DEVICE_STATE_DEACTIVATING,
|
||||
NM_DEVICE_STATE_REASON_NONE);
|
||||
NM_DEVICE_STATE_REASON_USER_REQUESTED);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue