]> git.baikalelectronics.ru Git - kernel.git/commit
nl80211: ignore HT/VHT capabilities without QoS/WMM
authorJohannes Berg <johannes.berg@intel.com>
Thu, 12 Mar 2015 06:53:27 +0000 (08:53 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 16 Mar 2015 08:36:11 +0000 (09:36 +0100)
commit63f058c03a48f06eb0f8aacd51b703eec20a7fdf
tree0dba31906f61953699ecd419a08f432674f2ad2e
parent32c28c915186be989f7c650b583f1b9a88ed9f4e
nl80211: ignore HT/VHT capabilities without QoS/WMM

As HT/VHT depend heavily on QoS/WMM, it's not a good idea to
let userspace add clients that have HT/VHT but not QoS/WMM.
Since it does so in certain cases we've observed (client is
using HT IEs but not QoS/WMM) just ignore the HT/VHT info at
this point and don't pass it down to the drivers which might
unconditionally use it.

Cc: stable@vger.kernel.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c