mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-28 15:40:10 +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(cherry picked from commit2bfbf33720)
This commit is contained in:
parent
7f84150e9f
commit
55e402e5ac
1 changed files with 1 additions and 1 deletions
|
|
@ -5944,7 +5944,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