summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2017-01-27 09:57:52 +0100
committerThomas Haller <thaller@redhat.com>2017-01-27 09:57:52 +0100
commita7e2deb101815056fb87b8e4f547ebce2a9f73f8 (patch)
tree451aaa10a7a4a1a4bca8080e5ce5d8f97ab16b61
parent2b8d4386567ff22b1ab97e990da46b915f48c749 (diff)
downloadNetworkManager-lr/tmp.tar.gz
fixup! manager: guard the flag setting by the actual device presencelr/tmp
-rw-r--r--src/nm-manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nm-manager.c b/src/nm-manager.c
index 5abeff7862..7dfaa5abf8 100644
--- a/src/nm-manager.c
+++ b/src/nm-manager.c
@@ -3128,7 +3128,7 @@ _internal_activate_device (NMManager *self, NMActiveConnection *active, GError *
*/
if (master_device) {
nm_device_set_unmanaged_by_flags (master_device, NM_UNMANAGED_EXTERNAL_DOWN,
- NM_UNMAN_FLAG_OP_FORGET, NM_DEVICE_STATE_REASON_USER_REQUESTED);
+ NM_UNMAN_FLAG_OP_FORGET, NM_DEVICE_STATE_REASON_USER_REQUESTED);
}
nm_active_connection_set_master (active, master_ac);