summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2015-06-18 15:40:42 -0400
committerLubomir Rintel <lkundrak@v3.sk>2015-06-18 15:45:15 -0400
commit2bfbf33720b792c9679719d904f4b82a7896202c (patch)
treed2b72e54fdd1435e28336430ac76a84d957846ab
parent6849050ad914b046e55bcb4eaad826000fef620f (diff)
downloadNetworkManager-2bfbf33720b792c9679719d904f4b82a7896202c.tar.gz
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: 4cb97cf66f175857a1910ee926ea61dc507c08e8
-rw-r--r--src/devices/nm-device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c
index 467bc31db2..34c437f968 100644
--- a/src/devices/nm-device.c
+++ b/src/devices/nm-device.c
@@ -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