diff options
author | Amadeusz Sławiński <amadeusz.slawinski@tieto.com> | 2017-01-24 16:42:10 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2017-01-26 09:50:44 +0100 |
commit | 731977e97b3697454a862fec656c2561eabc0b87 (patch) | |
tree | 3c85d71fd7c87cc92facb0c2dc7552cc8fcdd342 /net/mac80211/rx.c | |
parent | 42f82e2e62ae748a27741e63dbb035bfbe3353c9 (diff) | |
download | linux-stable-731977e97b3697454a862fec656c2561eabc0b87.tar.gz linux-stable-731977e97b3697454a862fec656c2561eabc0b87.tar.bz2 linux-stable-731977e97b3697454a862fec656c2561eabc0b87.zip |
mac80211: use helper function to access ieee802_1d_to_ac[]
cleanup patch to make use of ieee80211_ac_from_tid() to retrieve ac from
ieee802_1d_to_ac[]
Signed-off-by: Amadeusz Sławiński <amadeusz.slawinski@tieto.com>
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 b791c4190564..50ca3828b124 100644 --- a/net/mac80211/rx.c +++ b/net/mac80211/rx.c @@ -1391,7 +1391,7 @@ EXPORT_SYMBOL(ieee80211_sta_pspoll); void ieee80211_sta_uapsd_trigger(struct ieee80211_sta *pubsta, u8 tid) { struct sta_info *sta = container_of(pubsta, struct sta_info, sta); - u8 ac = ieee802_1d_to_ac[tid & 7]; + int ac = ieee80211_ac_from_tid(tid); /* * If this AC is not trigger-enabled do nothing unless the |