Skip to content
Commit 08e6effa authored by Johannes Berg's avatar Johannes Berg
Browse files

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: default avatarJohannes Berg <johannes.berg@intel.com>
parent bee7f586
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment