diff options
author | sam <sam@FreeBSD.org> | 2009-03-28 17:36:56 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2009-03-28 17:36:56 +0000 |
commit | fdfdc43f6d5433a144e458a52e8cef732fe15b5a (patch) | |
tree | dfb16cf039330a64ccce51abb8280df4fae858fc /sys/net/if.c | |
parent | 14e3eb7296a4d1fcdf386bd96a7a1d8b96001d13 (diff) | |
download | FreeBSD-src-fdfdc43f6d5433a144e458a52e8cef732fe15b5a.zip FreeBSD-src-fdfdc43f6d5433a144e458a52e8cef732fe15b5a.tar.gz |
enable setting the mac address of 802.11 devices
Diffstat (limited to 'sys/net/if.c')
-rw-r--r-- | sys/net/if.c | 1 |
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: |