diff options
author | Jouni Malinen <jouni.malinen@atheros.com> | 2009-05-14 20:28:46 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-05-20 20:46:24 +0200 |
commit | d8959fbfbad5f75c7df673aaf5112ba5e405ad34 (patch) | |
tree | 1414c8a886dc94141c2910d249dadf16441f9add /drivers/net/wireless | |
parent | mac80211: Cancel pending probereq poll on beacon RX (diff) | |
download | linux-d8959fbfbad5f75c7df673aaf5112ba5e405ad34.tar.xz linux-d8959fbfbad5f75c7df673aaf5112ba5e405ad34.zip |
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')
-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 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) } /* 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 |