]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: disable HT/VHT if AP has no HT/VHT capability
authorJohannes Berg <johannes.berg@intel.com>
Thu, 7 Feb 2013 22:33:32 +0000 (23:33 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 15 Feb 2013 08:41:35 +0000 (09:41 +0100)
commit2237550945a4e51640ae7a19652a1389428e60af
tree3d48812d1ee8d43a42603c7f528927d56929516a
parent179616eb0b853e45a68c70f00221018b428b8f38
mac80211: disable HT/VHT if AP has no HT/VHT capability

Having HT/VHT operation IEs but not capability IEs
leads to a strange situation where we configure the
channel to an HT or VHT bandwidth and then can't
actually use it. Prevent this by checking that the
HT and VHT capability IEs are present as well as
the operation IEs; if not, disable HT and/or VHT.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c