summaryrefslogtreecommitdiff
path: root/src/devices/wifi/nm-wifi-factory.c
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2015-05-06 09:53:44 -0500
committerThomas Haller <thaller@redhat.com>2015-06-17 16:33:16 +0200
commited0c2281870c19c6b284f2704ef97ffaaf160e76 (patch)
treee726b03b54c129754f7726683e2e62597d636e14 /src/devices/wifi/nm-wifi-factory.c
parentd5e0a6ff86e93d1863c318cf0890363439afefeb (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). (cherry picked from commit 8fa0f4690f6f97b046399e33de1d1d6d81235636)
Diffstat (limited to 'src/devices/wifi/nm-wifi-factory.c')
-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);