aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/mac80211.h
diff options
context:
space:
mode:
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 24a69f6075c2..4dd3d93e1960 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -847,20 +847,12 @@ static inline void SET_IEEE80211_PERM_ADDR(struct ieee80211_hw *hw, u8 *addr)
847 847
848static inline int ieee80211_num_regular_queues(struct ieee80211_hw *hw) 848static inline int ieee80211_num_regular_queues(struct ieee80211_hw *hw)
849{ 849{
850#ifdef CONFIG_MAC80211_QOS
851 return hw->queues; 850 return hw->queues;
852#else
853 return 1;
854#endif
855} 851}
856 852
857static inline int ieee80211_num_queues(struct ieee80211_hw *hw) 853static inline int ieee80211_num_queues(struct ieee80211_hw *hw)
858{ 854{
859#ifdef CONFIG_MAC80211_QOS
860 return hw->queues + hw->ampdu_queues; 855 return hw->queues + hw->ampdu_queues;
861#else
862 return 1;
863#endif
864} 856}
865 857
866static inline struct ieee80211_rate * 858static inline struct ieee80211_rate *