From d78f4614a0e24b677c4672e2034810cda395427c Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Tue, 17 Feb 2015 10:40:18 +0100 Subject: [PATCH] device: use "new-activation" reason when deactivating for another activation "user-requested" has a side effect of disabling autoconnect. Fixes: 600489003ff2eca33865a3d41abcc9fc03fd6bb1 --- 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 5584ea116..c6f590c0e 100644 --- a/src/devices/nm-device.c +++ b/src/devices/nm-device.c @@ -5956,7 +5956,7 @@ nm_device_queue_activation (NMDevice *self, NMActRequest *req) _LOGI (LOGD_DEVICE, "disconnecting for new activation request."); nm_device_state_changed (self, NM_DEVICE_STATE_DEACTIVATING, - NM_DEVICE_STATE_REASON_USER_REQUESTED); + NM_DEVICE_STATE_REASON_NEW_ACTIVATION); } }