Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 278417
b: refs/heads/master
c: 4db4e0a
h: refs/heads/master
i:
  278415: 95f0fb5
v: v3
  • Loading branch information
Johannes Berg authored and John W. Linville committed Nov 28, 2011
1 parent 2e5873c commit e4fafa0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4883993841638963fbae2f334899f29309466152
refs/heads/master: 4db4e0a17fb0e7b345b344cde141b252794c2f19
7 changes: 4 additions & 3 deletions trunk/net/mac80211/tx.c
Original file line number Diff line number Diff line change
Expand Up @@ -1227,9 +1227,10 @@ static bool ieee80211_tx_frags(struct ieee80211_local *local,
* queue is woken again.
*/
if (txpending)
skb_queue_splice(skbs, &local->pending[q]);
skb_queue_splice_init(skbs, &local->pending[q]);
else
skb_queue_splice_tail(skbs, &local->pending[q]);
skb_queue_splice_tail_init(skbs,
&local->pending[q]);

spin_unlock_irqrestore(&local->queue_stop_reason_lock,
flags);
Expand Down Expand Up @@ -1301,7 +1302,7 @@ static bool __ieee80211_tx(struct ieee80211_local *local,
ieee80211_tpt_led_trig_tx(local, fc, led_len);
ieee80211_led_tx(local, 1);

WARN_ON(!skb_queue_empty(skbs));
WARN_ON_ONCE(!skb_queue_empty(skbs));

return result;
}
Expand Down

0 comments on commit e4fafa0

Please sign in to comment.