summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2017-06-07 22:22:14 +0200
committerThomas Haller <thaller@redhat.com>2017-06-08 21:45:17 +0200
commit6a7b51f79bf93889665f9f6eb1ebbd4920535e24 (patch)
tree7b45ab82eb2d4e25b411c6ff69f3c12eff8c3b44
parentd83848be9dfd0edb5f318b81854b371133d84f6e (diff)
downloadNetworkManager-6a7b51f79bf93889665f9f6eb1ebbd4920535e24.tar.gz
core: allow assuming connections on "nm-owned" software devices
Especially now we load the nm-owned flag from run-state. We very much want to assume connections on such devices.
-rw-r--r--src/nm-manager.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/nm-manager.c b/src/nm-manager.c
index b13ad35c15..ef61787148 100644
--- a/src/nm-manager.c
+++ b/src/nm-manager.c
@@ -1841,9 +1841,6 @@ recheck_assume_connection (NMManager *self,
g_return_val_if_fail (NM_IS_MANAGER (self), FALSE);
g_return_val_if_fail (NM_IS_DEVICE (device), FALSE);
- if (nm_device_is_nm_owned (device))
- return FALSE;
-
if (!nm_device_get_managed (device, FALSE))
return FALSE;