summaryrefslogtreecommitdiff
path: root/src/platform/nm-linux-platform.c
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2018-03-09 15:48:24 +0100
committerLubomir Rintel <lkundrak@v3.sk>2018-06-26 16:21:54 +0200
commit4e3d2f5a8541a5c5a22c8295c89c7d20352cbaf1 (patch)
tree7157c8412c1924cdd5891ed9131f39f3fca3dbbe /src/platform/nm-linux-platform.c
parentdbb205d8d2ed37c5808d89be0539e5a91cd12741 (diff)
platform/linux: recognize WPAN links
Diffstat (limited to 'src/platform/nm-linux-platform.c')
-rw-r--r--src/platform/nm-linux-platform.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/platform/nm-linux-platform.c b/src/platform/nm-linux-platform.c
index 56f2cee59..d3c2b9767 100644
--- a/src/platform/nm-linux-platform.c
+++ b/src/platform/nm-linux-platform.c
@@ -534,6 +534,7 @@ static const LinkDesc linktypes[] = {
{ NM_LINK_TYPE_WIFI, "wifi", NULL, "wlan" },
{ NM_LINK_TYPE_WWAN_NET, "wwan", NULL, "wwan" },
{ NM_LINK_TYPE_WIMAX, "wimax", "wimax", "wimax" },
+ { NM_LINK_TYPE_WPAN, "wpan", NULL, NULL },
{ NM_LINK_TYPE_BNEP, "bluetooth", NULL, "bluetooth" },
{ NM_LINK_TYPE_DUMMY, "dummy", "dummy", NULL },
@@ -842,6 +843,8 @@ _linktype_get_type (NMPlatform *platform,
return NM_LINK_TYPE_IP6TNL;
else if (arptype == ARPHRD_PPP)
return NM_LINK_TYPE_PPP;
+ else if (arptype == ARPHRD_IEEE802154)
+ return NM_LINK_TYPE_WPAN;
{
NMPUtilsEthtoolDriverInfo driver_info;