aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2009-05-14 14:28:46 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-05-20 14:46:24 -0400
commitd8959fbfbad5f75c7df673aaf5112ba5e405ad34 (patch)
tree1414c8a886dc94141c2910d249dadf16441f9add /drivers/net/wireless/ath/ath9k
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>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k')
-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 b46badd21f73..76abbbec9fd7 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)
637 } 637 }
638 638
639 /* Send the frame to mac80211 */ 639 /* Send the frame to mac80211 */
640 if (hdr->addr1[5] & 0x01) { 640 if (is_multicast_ether_addr(hdr->addr1)) {
641 int i; 641 int i;
642 /* 642 /*
643 * Deliver broadcast/multicast frames to all suitable 643 * Deliver broadcast/multicast frames to all suitable