mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-09-15 22:29:58 +00: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
|
@ -5956,7 +5956,7 @@ nm_device_queue_activation (NMDevice *self, NMActRequest *req)
|
||||||
_LOGI (LOGD_DEVICE, "disconnecting for new activation request.");
|
_LOGI (LOGD_DEVICE, "disconnecting for new activation request.");
|
||||||
nm_device_state_changed (self,
|
nm_device_state_changed (self,
|
||||||
NM_DEVICE_STATE_DEACTIVATING,
|
NM_DEVICE_STATE_DEACTIVATING,
|
||||||
NM_DEVICE_STATE_REASON_USER_REQUESTED);
|
NM_DEVICE_STATE_REASON_NEW_ACTIVATION);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue