Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 102767
b: refs/heads/master
c: c468047
h: refs/heads/master
i:
  102765: 5a4cee1
  102763: 8dd48f6
  102759: 45d9443
  102751: 35ec8eb
v: v3
  • Loading branch information
Johannes Berg authored and John W. Linville committed May 22, 2008
1 parent c9eb4d2 commit 157d24b
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 189a2b5942d62bd18e1e01772c4c784253f5dd16
refs/heads/master: c4680470a34a4f39af3d0a5c40f70befd8701908
6 changes: 3 additions & 3 deletions trunk/net/mac80211/util.c
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ void ieee80211_start_queues(struct ieee80211_hw *hw)
struct ieee80211_local *local = hw_to_local(hw);
int i;

for (i = 0; i < local->hw.queues; i++)
for (i = 0; i < hw->queues + hw->ampdu_queues; i++)
clear_bit(IEEE80211_LINK_STATE_XOFF, &local->state[i]);
if (!ieee80211_qdisc_installed(local->mdev))
netif_start_queue(local->mdev);
Expand All @@ -366,7 +366,7 @@ void ieee80211_stop_queues(struct ieee80211_hw *hw)
{
int i;

for (i = 0; i < hw->queues; i++)
for (i = 0; i < hw->queues + hw->ampdu_queues; i++)
ieee80211_stop_queue(hw, i);
}
EXPORT_SYMBOL(ieee80211_stop_queues);
Expand All @@ -375,7 +375,7 @@ void ieee80211_wake_queues(struct ieee80211_hw *hw)
{
int i;

for (i = 0; i < hw->queues; i++)
for (i = 0; i < hw->queues + hw->ampdu_queues; i++)
ieee80211_wake_queue(hw, i);
}
EXPORT_SYMBOL(ieee80211_wake_queues);
Expand Down

0 comments on commit 157d24b

Please sign in to comment.