mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-24 07:50:06 +01:00
device: use "new-activation" reason when deactivating for another activation
"user-requested" has a side effect of disabling autoconnect.
Fixes: 600489003f
This commit is contained in:
parent
1ad193a017
commit
d78f4614a0
1 changed files with 1 additions and 1 deletions
|
|
@ -5956,7 +5956,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_USER_REQUESTED);
|
||||
NM_DEVICE_STATE_REASON_NEW_ACTIVATION);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue