diff options
| author | Andriy Voskoboinyk <avos@FreeBSD.org> | 2016-04-20 18:29:30 +0000 |
|---|---|---|
| committer | Andriy Voskoboinyk <avos@FreeBSD.org> | 2016-04-20 18:29:30 +0000 |
| commit | 31021a2b4ef82d6491e5769defa8b34f16437761 (patch) | |
| tree | ce3eab7ed45b044ec959a1de503b72ca6e18f182 /sys/dev/otus | |
| parent | d4015ddc57f4920eaf184ab5c5dc246140142c5a (diff) | |
Notes
Diffstat (limited to 'sys/dev/otus')
| -rw-r--r-- | sys/dev/otus/if_otus.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/otus/if_otus.c b/sys/dev/otus/if_otus.c index 03bfa73d1f52..517ff2abd29b 100644 --- a/sys/dev/otus/if_otus.c +++ b/sys/dev/otus/if_otus.c @@ -62,7 +62,6 @@ __FBSDID("$FreeBSD$"); #include <net80211/ieee80211_regdomain.h> #include <net80211/ieee80211_radiotap.h> #include <net80211/ieee80211_ratectl.h> -#include <net80211/ieee80211_input.h> #ifdef IEEE80211_SUPPORT_SUPERG #include <net80211/ieee80211_superg.h> #endif @@ -2307,7 +2306,7 @@ otus_set_multi(struct otus_softc *sc) uint32_t val; dl = LLADDR((struct sockaddr_dl *) ifma->ifma_addr); - val = LE_READ_4(dl + 4); + val = le32dec(dl + 4); /* Get address byte 5 */ val = val & 0x0000ff00; val = val >> 8; |
