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/status.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/status.c')
-rw-r--r-- | net/mac80211/status.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/status.c b/net/mac80211/status.c index d6a1bfaa7a81..a3af6e1bfd98 100644 --- a/net/mac80211/status.c +++ b/net/mac80211/status.c @@ -95,7 +95,7 @@ static void ieee80211_handle_filtered_frame(struct ieee80211_local *local, */ if (*p & IEEE80211_QOS_CTL_EOSP) *p &= ~IEEE80211_QOS_CTL_EOSP; - ac = ieee802_1d_to_ac[tid & 7]; + ac = ieee80211_ac_from_tid(tid); } else { ac = IEEE80211_AC_BE; } |