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:
@@ -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_MANAGER (self), FALSE);
|
||||||
g_return_val_if_fail (NM_IS_DEVICE (device), 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))
|
if (!nm_device_get_managed (device, FALSE))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user