diff options
author | Jouni Malinen <jouni.malinen@atheros.com> | 2009-05-14 18:28:46 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-05-20 18:46:24 (GMT) |
commit | d8959fbfbad5f75c7df673aaf5112ba5e405ad34 (patch) | |
tree | 1414c8a886dc94141c2910d249dadf16441f9add /drivers/net/wireless/ath/ath9k | |
parent | 92778180f7fca7f7797de8020900a7fea175f7e3 (diff) | |
download | linux-fsl-qoriq-d8959fbfbad5f75c7df673aaf5112ba5e405ad34.tar.xz |
ath9k: Fix a check for multicast address for virtual wiphy
The broadcast bit is in the first, not the last octet..
Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/recv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/recv.c b/drivers/net/wireless/ath/ath9k/recv.c index b46badd..76abbbe 100644 --- a/drivers/net/wireless/ath/ath9k/recv.c +++ b/drivers/net/wireless/ath/ath9k/recv.c @@ -637,7 +637,7 @@ int ath_rx_tasklet(struct ath_softc *sc, int flush) } /* Send the frame to mac80211 */ - if (hdr->addr1[5] & 0x01) { + if (is_multicast_ether_addr(hdr->addr1)) { int i; /* * Deliver broadcast/multicast frames to all suitable |