From 2bfbf33720b792c9679719d904f4b82a7896202c Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Thu, 18 Jun 2015 15:40:42 -0400 Subject: [PATCH] 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 --- src/devices/nm-device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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