Ilan Peer 911a26484c mac80211: Fix condition validating WMM IE
Commit c470bdc1aaf3 ("mac80211: don't WARN on bad WMM parameters from
buggy APs") handled cases where an AP reports a zeroed WMM
IE. However, the condition that checks the validity accessed the wrong
index in the ieee80211_tx_queue_params array, thus wrongly deducing
that the parameters are invalid. Fix it.

Fixes: c470bdc1aaf3 ("mac80211: don't WARN on bad WMM parameters from buggy APs")
Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2018-04-19 15:46:22 +02:00
..
2017-02-10 14:31:51 -05:00
2018-02-22 21:13:03 +01:00
2014-04-09 14:49:43 +02:00
2018-03-29 14:01:27 +02:00
2012-03-13 14:54:16 -04:00
2018-02-22 21:13:03 +01:00