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>
This commit is contained in:
parent
92778180f7
commit
d8959fbfba
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue