mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-25 00:10:07 +01:00
manager: use proper reason when stealing a connection
The user-requested reason is not really appropriate and blocks autoreconnect.
We added a new reason precisely for that.
Fixes: 4cb97cf66f
This commit is contained in:
parent
6849050ad9
commit
2bfbf33720
1 changed files with 1 additions and 1 deletions
|
|
@ -6135,7 +6135,7 @@ nm_device_steal_connection (NMDevice *self, NMConnection *connection)
|
|||
&& priv->state < NM_DEVICE_STATE_DEACTIVATING)
|
||||
nm_device_state_changed (self,
|
||||
NM_DEVICE_STATE_DEACTIVATING,
|
||||
NM_DEVICE_STATE_REASON_USER_REQUESTED);
|
||||
NM_DEVICE_STATE_REASON_NEW_ACTIVATION);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue