mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 08:19:28 +00:00
zd1211: Use skb_queue_walk() instead of by-hand implementation.
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
2aad7c8e9b
commit
47a227db74
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue