aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2009-05-14 21:28:46 +0300
committerJohn W. Linville <linville@tuxdriver.com>2009-05-20 14:46:24 -0400
commitd8959fbfbad5f75c7df673aaf5112ba5e405ad34 (patch)
tree1414c8a886dc94141c2910d249dadf16441f9add
parent92778180f7fca7f7797de8020900a7fea175f7e3 (diff)
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>
-rw-r--r--drivers/net/wireless/ath/ath9k/recv.c2
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 b46badd21f7..76abbbec9fd 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