core: slaves have configuration by definition

The mere fact that a device is a slave means it has configuration
that NetworkManager should try to read.
This commit is contained in:
Dan Williams 2013-11-07 01:11:51 -06:00
parent 76ca47e6b3
commit 93ad84a498

View file

@ -1632,6 +1632,10 @@ device_has_config (NMDevice *device)
if (nm_device_is_software (device))
return TRUE;
/* Slaves are also configured by definition */
if (nm_platform_link_get_master (priv->ifindex) > 0)
return TRUE;
return FALSE;
}