Emmanuel Grumbach 7a4b56ae85 mac80211: don't WARN on bad WMM parameters from buggy APs
[ Upstream commit c470bdc1aaf36669e04ba65faf1092b2d1c6cabe ]

Apparently, some APs are buggy enough to send a zeroed
WMM IE. Don't WARN on this since this is not caused by a bug
on the client's system.

This aligns the condition of the WARNING in drv_conf_tx
with the validity check in ieee80211_sta_wmm_params.
We will now pick the default values whenever we get
a zeroed WMM IE.

This has been reported here:
https://bugzilla.kernel.org/show_bug.cgi?id=199161

Fixes: f409079bb678 ("mac80211: sanity check CW_min/CW_max towards driver")
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2018-12-21 14:11:32 +01:00
..
2018-05-16 10:08:44 +02:00
2018-04-13 19:48:29 +02:00
2018-12-17 09:38:31 +01:00
2018-12-01 09:44:19 +01:00
2016-10-20 11:23:08 -04:00
2018-11-10 07:42:58 -08:00