summaryrefslogtreecommitdiffstats
path: root/sys/net
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2009-03-28 17:36:56 +0000
committersam <sam@FreeBSD.org>2009-03-28 17:36:56 +0000
commitfdfdc43f6d5433a144e458a52e8cef732fe15b5a (patch)
treedfb16cf039330a64ccce51abb8280df4fae858fc /sys/net
parent14e3eb7296a4d1fcdf386bd96a7a1d8b96001d13 (diff)
downloadFreeBSD-src-fdfdc43f6d5433a144e458a52e8cef732fe15b5a.zip
FreeBSD-src-fdfdc43f6d5433a144e458a52e8cef732fe15b5a.tar.gz
enable setting the mac address of 802.11 devices
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/if.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/net/if.c b/sys/net/if.c
index aec6f55..d9af711 100644
--- a/sys/net/if.c
+++ b/sys/net/if.c
@@ -2749,6 +2749,7 @@ if_setlladdr(struct ifnet *ifp, const u_char *lladdr, int len)
case IFT_BRIDGE:
case IFT_ARCNET:
case IFT_IEEE8023ADLAG:
+ case IFT_IEEE80211:
bcopy(lladdr, LLADDR(sdl), len);
break;
default:
OpenPOWER on IntegriCloud