diff options
author | Johannes Berg <johannes.berg@intel.com> | 2018-08-31 11:31:08 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2018-09-05 11:03:13 +0300 |
commit | adf8ed01e4fdd254efead978d633718ab01a7d5c (patch) | |
tree | 52d3daf8a8b99db1d72cbe0fcf1efb8e4c770c8b /net/mac80211/rx.c | |
parent | 331aead5203f5979212e798682ff9157c939ceba (diff) | |
download | linux-adf8ed01e4fdd254efead978d633718ab01a7d5c.tar.xz |
mac80211: add an optional TXQ for other PS-buffered frames
Some drivers may want to also use the TXQ abstraction with
non-data packets that need powersave buffering, so add a
hardware flag to allow this.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/rx.c')
-rw-r--r-- | net/mac80211/rx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c index bf6b7ad7f7cd..b79bc9055035 100644 --- a/net/mac80211/rx.c +++ b/net/mac80211/rx.c @@ -1505,7 +1505,7 @@ static void sta_ps_start(struct sta_info *sta) if (!sta->sta.txq[0]) return; - for (tid = 0; tid < ARRAY_SIZE(sta->sta.txq); tid++) { + for (tid = 0; tid < IEEE80211_NUM_TIDS; tid++) { if (txq_has_queue(sta->sta.txq[tid])) set_bit(tid, &sta->txq_buffered_tids); else |