[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20070311191857.AA1157B409F@zog.reactivated.net>
Date: Sun, 11 Mar 2007 19:18:57 +0000 (GMT)
From: Daniel Drake <dsd@...too.org>
To: linville@...driver.com
Cc: maxime@...lhalla.org
Subject: [PATCH RESEND] zd1211rw-mac80211: Use compare_ether_addr()
Suggested by Maxime Austruy, based on mac80211 changes from Stephen
Hemminger
Signed-off-by: Daniel Drake <dsd@...too.org>
---
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 majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists