iwlwifi: mvm: fix out of bounds access to tid_to_mac80211_ac
authorEyal Shapira <eyal@wizery.com>
Wed, 31 Dec 2014 15:58:23 +0000 (17:58 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 5 Jan 2015 09:02:35 +0000 (11:02 +0200)
commita9dc5060bf3a32ac3dad472f15416054b92dc5b5
tree8e13625be9c64a6947e0df1897d7690ad08f1859
parentc93edc639392df733c7d72db4376a9add775d18a
iwlwifi: mvm: fix out of bounds access to tid_to_mac80211_ac

When tid_tspec was set to IWL_TID_NON_QOS (8) this led to an
out of bounds access to the tid_to_mac80211_ac array whose size
is 7. Fix this.

Signed-off-by: Eyal Shapira <eyalx.shapira@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/tx.c