diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2008-05-07 17:18:09 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-05-14 16:29:48 -0400 |
commit | fac371d9f09f461dfe9fbbceb2a38e2e12164dda (patch) | |
tree | 8b39e93de42af2059ceddc10498151c41a438c3d | |
parent | 84e6dc9acf6825f508feae9db6b7d695e64894e0 (diff) |
mac80211: fix queue constant confusion
In commit 31ccc476b77234f6afb3 (mac80211: QoS related cleanups) I
accidentally changed these to use IEEE80211_MAX_AMPDU_QUEUES twice
which obviously is wrong, it should be IEEE80211_MAX_QUEUES once.
Currently harmless as they're both the same value anyway.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | net/mac80211/ieee80211_i.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h index d82ed20a344c..173b7fcb3029 100644 --- a/net/mac80211/ieee80211_i.h +++ b/net/mac80211/ieee80211_i.h | |||
@@ -610,8 +610,8 @@ struct ieee80211_local { | |||
610 | struct sta_info *sta_hash[STA_HASH_SIZE]; | 610 | struct sta_info *sta_hash[STA_HASH_SIZE]; |
611 | struct timer_list sta_cleanup; | 611 | struct timer_list sta_cleanup; |
612 | 612 | ||
613 | unsigned long state[IEEE80211_MAX_AMPDU_QUEUES + IEEE80211_MAX_AMPDU_QUEUES]; | 613 | unsigned long state[IEEE80211_MAX_QUEUES + IEEE80211_MAX_AMPDU_QUEUES]; |
614 | struct ieee80211_tx_stored_packet pending_packet[IEEE80211_MAX_AMPDU_QUEUES + IEEE80211_MAX_AMPDU_QUEUES]; | 614 | struct ieee80211_tx_stored_packet pending_packet[IEEE80211_MAX_QUEUES + IEEE80211_MAX_AMPDU_QUEUES]; |
615 | struct tasklet_struct tx_pending_tasklet; | 615 | struct tasklet_struct tx_pending_tasklet; |
616 | 616 | ||
617 | /* number of interfaces with corresponding IFF_ flags */ | 617 | /* number of interfaces with corresponding IFF_ flags */ |