]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mac80211: disable HT advertising unless AP supports it
authorJohannes Berg <johannes.berg@intel.com>
Thu, 22 Nov 2012 13:34:05 +0000 (14:34 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 23 Nov 2012 07:43:27 +0000 (08:43 +0100)
commit03ae834faac9831181ae471543d9f640b75c652b
tree399899a02d568e3b982fd6e25a521cd7fe3eb7a0
parenta8243b72459be78240e5e07f987c625f8d976c14
mac80211: disable HT advertising unless AP supports it

If the AP doesn't support HT, or more importantly if
it does but we have to disable it because its IEs are
broken, don't advertise HT support in our association
request. Otherwise, we configure our channel to be a
20 MHz non-HT channel but the AP might still think we
support HT, or even 40 MHz.

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