summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2015-02-17 10:40:18 +0100
committerLubomir Rintel <lkundrak@v3.sk>2015-04-07 11:55:07 -0400
commit61b1900e1080406be6a1bbf177ebc90e97a62e8f (patch)
treee7a5f18ddba9c167303814c7f5ec778b2acbf35a
parent0aa18befa1d1b9937f7a2aadeef354aa1789dc4b (diff)
downloadNetworkManager-lr/beaker-fixes-1-0.tar.gz
device: use "new-activation" reason when deactivating for another activationlr/beaker-fixes-1-0
"user-requested" has a side effect of disabling autoconnect. Fixes: 600489003ff2eca33865a3d41abcc9fc03fd6bb1
-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 b5da8423aa..e714aeaa67 100644
--- a/src/devices/nm-device.c
+++ b/src/devices/nm-device.c
@@ -5816,7 +5816,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);
}
}