From: Johannes Berg Date: Thu, 7 Feb 2013 22:33:32 +0000 (+0100) Subject: mac80211: disable HT/VHT if AP has no HT/VHT capability X-Git-Tag: v3.9-rc1~139^2~31^2^2~1^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08e6effa1187cc5f401a1cc286ce84f0a581b35a;p=pandora-kernel.git 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 --- Reading git-diff-tree failed