The broadcast bit is in the first, not the last octet..
Signed-off-by: Jouni Malinen <[email protected]>
---
drivers/net/wireless/ath/ath9k/recv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- wireless-testing.orig/drivers/net/wireless/ath/ath9k/recv.c 2009-05-14 21:04:12.000000000 +0300
+++ wireless-testing/drivers/net/wireless/ath/ath9k/recv.c 2009-05-14 21:12:18.000000000 +0300
@@ -637,7 +637,7 @@ int ath_rx_tasklet(struct ath_softc *sc,
}
/* 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
--
--
Jouni Malinen PGP id EFC895FA