Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 111169
b: refs/heads/master
c: 92ab853
h: refs/heads/master
i:
  111167: 86471e5
v: v3
  • Loading branch information
Tomas Winkler authored and John W. Linville committed Aug 22, 2008
1 parent 2ad062b commit 8a62960
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5442060c08a49bd0b416f033e0ae43ccedef5278
refs/heads/master: 92ab85354993ac3a364c65cab45745af470ffc67
10 changes: 10 additions & 0 deletions trunk/include/net/mac80211.h
Original file line number Diff line number Diff line change
Expand Up @@ -1607,6 +1607,16 @@ void ieee80211_wake_queue(struct ieee80211_hw *hw, int queue);
*/
void ieee80211_stop_queue(struct ieee80211_hw *hw, int queue);

/**
* ieee80211_queue_stopped - test status of the queue
* @hw: pointer as obtained from ieee80211_alloc_hw().
* @queue: queue number (counted from zero).
*
* Drivers should use this function instead of netif_stop_queue.
*/

int ieee80211_queue_stopped(struct ieee80211_hw *hw, int queue);

/**
* ieee80211_stop_queues - stop all queues
* @hw: pointer as obtained from ieee80211_alloc_hw().
Expand Down
7 changes: 7 additions & 0 deletions trunk/net/mac80211/util.c
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,13 @@ void ieee80211_stop_queues(struct ieee80211_hw *hw)
}
EXPORT_SYMBOL(ieee80211_stop_queues);

int ieee80211_queue_stopped(struct ieee80211_hw *hw, int queue)
{
struct ieee80211_local *local = hw_to_local(hw);
return __netif_subqueue_stopped(local->mdev, queue);
}
EXPORT_SYMBOL(ieee80211_queue_stopped);

void ieee80211_wake_queues(struct ieee80211_hw *hw)
{
int i;
Expand Down

0 comments on commit 8a62960

Please sign in to comment.