diff options
author | Johannes Berg <johannes.berg@intel.com> | 2012-11-14 23:22:21 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-11-19 15:44:00 +0100 |
commit | 5a306f5887d5fd840beb8ea872897fa89e8fcdef (patch) | |
tree | dadc13f05e360f8f35c15acb36a860056f4848fe /net/mac80211/agg-rx.c | |
parent | mac80211: use CMAC_PN_LEN (diff) | |
download | linux-5a306f5887d5fd840beb8ea872897fa89e8fcdef.tar.xz linux-5a306f5887d5fd840beb8ea872897fa89e8fcdef.zip |
mac80211: introduce IEEE80211_NUM_TIDS and use it
Introduce IEEE80211_NUM_TIDS in the generic 802.11
header file and use it in place of STA_TID_NUM and
NUM_RX_DATA_QUEUES which are both really the number
of TIDs.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/agg-rx.c')
-rw-r--r-- | net/mac80211/agg-rx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/agg-rx.c b/net/mac80211/agg-rx.c index 186d9919b043..808338a1bce5 100644 --- a/net/mac80211/agg-rx.c +++ b/net/mac80211/agg-rx.c @@ -118,7 +118,7 @@ void ieee80211_stop_rx_ba_session(struct ieee80211_vif *vif, u16 ba_rx_bitmap, return; } - for (i = 0; i < STA_TID_NUM; i++) + for (i = 0; i < IEEE80211_NUM_TIDS; i++) if (ba_rx_bitmap & BIT(i)) set_bit(i, sta->ampdu_mlme.tid_rx_stop_requested); |