diff options
Diffstat (limited to 'net/mac80211/rx.c')
-rw-r--r-- | net/mac80211/rx.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c index 837d56261bb2..21a8947651e1 100644 --- a/net/mac80211/rx.c +++ b/net/mac80211/rx.c | |||
@@ -1401,7 +1401,8 @@ void ieee80211_sta_uapsd_trigger(struct ieee80211_sta *pubsta, u8 tid) | |||
1401 | * enabled queues, but for now we only implement uAPSD w/o | 1401 | * enabled queues, but for now we only implement uAPSD w/o |
1402 | * TSPEC changes to the ACs, so they're always the same. | 1402 | * TSPEC changes to the ACs, so they're always the same. |
1403 | */ | 1403 | */ |
1404 | if (!(sta->sta.uapsd_queues & BIT(ac)) && tid != IEEE80211_NUM_TIDS) | 1404 | if (!(sta->sta.uapsd_queues & ieee80211_ac_to_qos_mask[ac]) && |
1405 | tid != IEEE80211_NUM_TIDS) | ||
1405 | return; | 1406 | return; |
1406 | 1407 | ||
1407 | /* if we are in a service period, do nothing */ | 1408 | /* if we are in a service period, do nothing */ |