diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2015-02-17 10:40:18 +0100 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2015-04-08 10:00:14 +0200 |
commit | d78f4614a0e24b677c4672e2034810cda395427c (patch) | |
tree | 10fade9143e1ea4decc557a77bc7ecec4b2aafa8 | |
parent | 1ad193a01759f1dd8cbb16317b9b3490fa95193a (diff) | |
download | NetworkManager-d78f4614a0e24b677c4672e2034810cda395427c.tar.gz |
device: use "new-activation" reason when deactivating for another activation
"user-requested" has a side effect of disabling autoconnect.
Fixes: 600489003ff2eca33865a3d41abcc9fc03fd6bb1
-rw-r--r-- | src/devices/nm-device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c index 5584ea116c..c6f590c0e9 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); } } |