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.
This commit is contained in:
Thomas Haller
2017-06-07 22:22:14 +02:00
parent d83848be9d
commit 6a7b51f79b

View File

@@ -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;