diff options
author | David S. Miller <davem@davemloft.net> | 2008-09-23 00:23:30 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-09-23 00:23:30 -0700 |
commit | 47a227db746edbcfc8b78ac8a7787733faf6f171 (patch) | |
tree | 52ee55e90d49c423f528c1ba49c3bc87d362aede /drivers/net/wireless | |
parent | 2aad7c8e9b4d1cabdeac2469e7276e9daef12fa0 (diff) |
zd1211: Use skb_queue_walk() instead of by-hand implementation.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/zd1211rw/zd_mac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/zd1211rw/zd_mac.c b/drivers/net/wireless/zd1211rw/zd_mac.c index a3da014f928..fe1867b25ff 100644 --- a/drivers/net/wireless/zd1211rw/zd_mac.c +++ b/drivers/net/wireless/zd1211rw/zd_mac.c @@ -611,7 +611,7 @@ static int filter_ack(struct ieee80211_hw *hw, struct ieee80211_hdr *rx_hdr, q = &zd_hw_mac(hw)->ack_wait_queue; spin_lock_irqsave(&q->lock, flags); - for (skb = q->next; skb != (struct sk_buff *)q; skb = skb->next) { + skb_queue_walk(q, skb) { struct ieee80211_hdr *tx_hdr; tx_hdr = (struct ieee80211_hdr *)skb->data; |