commit | 08e6effa1187cc5f401a1cc286ce84f0a581b35a | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Thu Feb 07 23:33:32 2013 +0100 |
committer | Johannes Berg <johannes.berg@intel.com> | Fri Feb 15 09:41:35 2013 +0100 |
tree | 3d48812d1ee8d43a42603c7f528927d56929516a | |
parent | bee7f58699a406a4210ba9e0367bae7ac666abd0 [diff] |
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>