Suggested by Maxime Austruy, based on mac80211 changes from Stephen
Hemminger
Signed-off-by: Daniel Drake <[EMAIL PROTECTED]>
---
drivers/net/wireless/mac80211/zd1211rw/zd_mac.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/net/wireless/mac80211/zd1211rw/zd_mac.c
b/drivers/net/wireless/mac80211/zd1211rw/zd_mac.c
index 0d75ef2..94aa791 100644
--- a/drivers/net/wireless/mac80211/zd1211rw/zd_mac.c
+++ b/drivers/net/wireless/mac80211/zd1211rw/zd_mac.c
@@ -440,7 +440,7 @@ static int filter_ack(struct ieee80211_hw *dev, struct
ieee80211_hdr *rx_hdr,
tx_hdr = (struct ieee80211_hdr *) skb->data;
- if (!memcmp(tx_hdr->addr2, rx_hdr->addr1, ETH_ALEN))
+ if (!compare_ether_addr(tx_hdr->addr2, rx_hdr->addr1))
skb = __skb_dequeue(&mac->tx_queue);
else {
spin_unlock(&mac->tx_queue.lock);
--
1.5.0.3
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html