aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/mac80211.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2008-05-15 06:55:26 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-05-21 21:48:08 -0400
commit36d6825b91bc492b65b6333c369cd96a2fc8c903 (patch)
tree9113754ce110d593da8019a329c4afb229a036b3 /include/net/mac80211.h
parentc4680470a34a4f39af3d0a5c40f70befd8701908 (diff)
mac80211: let drivers wake but not start queues
Having drivers start queues is just confusing, their ->start() callback can block and do whatever is necessary, so let mac80211 start queues and have drivers wake queues when necessary (to get packets flowing again right away.) Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Acked-by: David S. Miller <davem@davemloft.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/net/mac80211.h')
-rw-r--r--include/net/mac80211.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index 909956c97c44..f00fc76a7344 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -1567,14 +1567,6 @@ void ieee80211_wake_queue(struct ieee80211_hw *hw, int queue);
1567void ieee80211_stop_queue(struct ieee80211_hw *hw, int queue); 1567void ieee80211_stop_queue(struct ieee80211_hw *hw, int queue);
1568 1568
1569/** 1569/**
1570 * ieee80211_start_queues - start all queues
1571 * @hw: pointer to as obtained from ieee80211_alloc_hw().
1572 *
1573 * Drivers should use this function instead of netif_start_queue.
1574 */
1575void ieee80211_start_queues(struct ieee80211_hw *hw);
1576
1577/**
1578 * ieee80211_stop_queues - stop all queues 1570 * ieee80211_stop_queues - stop all queues
1579 * @hw: pointer as obtained from ieee80211_alloc_hw(). 1571 * @hw: pointer as obtained from ieee80211_alloc_hw().
1580 * 1572 *