Commit d8959fbf authored by Jouni Malinen's avatar Jouni Malinen Committed by John W. Linville

ath9k: Fix a check for multicast address for virtual wiphy

The broadcast bit is in the first, not the last octet..
Signed-off-by: default avatarJouni Malinen <jouni.malinen@atheros.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 92778180
...@@ -637,7 +637,7 @@ int ath_rx_tasklet(struct ath_softc *sc, int flush) ...@@ -637,7 +637,7 @@ int ath_rx_tasklet(struct ath_softc *sc, int flush)
} }
/* Send the frame to mac80211 */ /* Send the frame to mac80211 */
if (hdr->addr1[5] & 0x01) { if (is_multicast_ether_addr(hdr->addr1)) {
int i; int i;
/* /*
* Deliver broadcast/multicast frames to all suitable * Deliver broadcast/multicast frames to all suitable
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment