From: Jouni Malinen <jouni.malinen@atheros.com>
To: "John W. Linville" <linville@tuxdriver.com>
Cc: linux-wireless@vger.kernel.org,
Jouni Malinen <jouni.malinen@atheros.com>
Subject: [PATCH 1/4] ath9k: Fix a check for multicast address for virtual wiphy
Date: Thu, 14 May 2009 21:28:46 +0300 [thread overview]
Message-ID: <20090514183036.280876573@atheros.com> (raw)
In-Reply-To: 20090514182845.684003914@atheros.com
The broadcast bit is in the first, not the last octet..
Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com>
---
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
next prev parent reply other threads:[~2009-05-14 18:30 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-14 18:28 [PATCH 0/4] ath9k: Power save mode fixes Jouni Malinen
2009-05-14 18:28 ` Jouni Malinen [this message]
2009-05-14 18:28 ` [PATCH 2/4] ath9k: Clean up RX processing a bit Jouni Malinen
2009-05-14 18:28 ` [PATCH 3/4] ath9k: Fix PS mode operation to receive buffered broadcast/multicast frames Jouni Malinen
2009-05-14 18:28 ` [PATCH 4/4] ath9k: Move PS wakeup/restore calls from isr to tasklet Jouni Malinen
2009-05-15 6:47 ` Luis R. Rodriguez
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090514183036.280876573@atheros.com \
--to=jouni.malinen@atheros.com \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.