aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/rx.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2012-11-14 17:22:21 -0500
committerJohannes Berg <johannes.berg@intel.com>2012-11-19 09:44:00 -0500
commit5a306f5887d5fd840beb8ea872897fa89e8fcdef (patch)
treedadc13f05e360f8f35c15acb36a860056f4848fe /net/mac80211/rx.c
parent0f92732344e88023807342fef4c566e0660c2fd9 (diff)
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/rx.c')
-rw-r--r--net/mac80211/rx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c
index e3daee8fdf7a..8480bbf1a707 100644
--- a/net/mac80211/rx.c
+++ b/net/mac80211/rx.c
@@ -408,10 +408,10 @@ static void ieee80211_parse_qos(struct ieee80211_rx_data *rx)
408 * 408 *
409 * We also use that counter for non-QoS STAs. 409 * We also use that counter for non-QoS STAs.
410 */ 410 */
411 seqno_idx = NUM_RX_DATA_QUEUES; 411 seqno_idx = IEEE80211_NUM_TIDS;
412 security_idx = 0; 412 security_idx = 0;
413 if (ieee80211_is_mgmt(hdr->frame_control)) 413 if (ieee80211_is_mgmt(hdr->frame_control))
414 security_idx = NUM_RX_DATA_QUEUES; 414 security_idx = IEEE80211_NUM_TIDS;
415 tid = 0; 415 tid = 0;
416 } 416 }
417 417