summaryrefslogtreecommitdiff
path: root/src/devices/wifi
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2015-05-06 09:53:44 -0500
committerDan Williams <dcbw@redhat.com>2015-05-06 16:14:25 -0500
commit8fa0f4690f6f97b046399e33de1d1d6d81235636 (patch)
tree31c1e7b9b7528db8f40aebb419889054621b2f38 /src/devices/wifi
parentaba250a7d4e72a7a98e6d43b1fb36689671b4855 (diff)
core: let plugins indicate links which should be ignored
Instead of hacky stuff in the Manager, let plugins themselves indicate which links should be ignored (because they are really child links that are controlled by a different device that the plugin handles).
Diffstat (limited to 'src/devices/wifi')
-rw-r--r--src/devices/wifi/nm-wifi-factory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/wifi/nm-wifi-factory.c b/src/devices/wifi/nm-wifi-factory.c
index 19578b3d58..c4b4042e70 100644
--- a/src/devices/wifi/nm-wifi-factory.c
+++ b/src/devices/wifi/nm-wifi-factory.c
@@ -59,7 +59,7 @@ nm_device_factory_create (GError **error)
/**************************************************************************/
static NMDevice *
-new_link (NMDeviceFactory *factory, NMPlatformLink *plink, GError **error)
+new_link (NMDeviceFactory *factory, NMPlatformLink *plink, gboolean *out_ignore, GError **error)
{
if (plink->type == NM_LINK_TYPE_WIFI)
return nm_device_wifi_new (plink);