diff options
| author | Johannes Berg <johannes.berg@intel.com> | 2018-08-31 04:31:08 -0400 |
|---|---|---|
| committer | Johannes Berg <johannes.berg@intel.com> | 2018-09-05 04:03:13 -0400 |
| commit | adf8ed01e4fdd254efead978d633718ab01a7d5c (patch) | |
| tree | 52d3daf8a8b99db1d72cbe0fcf1efb8e4c770c8b /net/mac80211/rx.c | |
| parent | 331aead5203f5979212e798682ff9157c939ceba (diff) | |
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) | |||
| 1505 | if (!sta->sta.txq[0]) | 1505 | if (!sta->sta.txq[0]) |
| 1506 | return; | 1506 | return; |
| 1507 | 1507 | ||
| 1508 | for (tid = 0; tid < ARRAY_SIZE(sta->sta.txq); tid++) { | 1508 | for (tid = 0; tid < IEEE80211_NUM_TIDS; tid++) { |
| 1509 | if (txq_has_queue(sta->sta.txq[tid])) | 1509 | if (txq_has_queue(sta->sta.txq[tid])) |
| 1510 | set_bit(tid, &sta->txq_buffered_tids); | 1510 | set_bit(tid, &sta->txq_buffered_tids); |
| 1511 | else | 1511 | else |
