Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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