]> rtime.felk.cvut.cz Git - can-eth-gw-linux.git/commit
mac80211: connect with HT20 if HT40 is not permitted
authorJohannes Berg <johannes.berg@intel.com>
Mon, 1 Oct 2012 13:52:00 +0000 (15:52 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 17 Oct 2012 11:46:38 +0000 (13:46 +0200)
commit3a40414f826a8f1096d9b94c4a53ef91b25ba28d
tree20df7c7d0a72c0e46373e847ae9c148fdbf1ef8b
parent6863255bd0e48bc41ae5a066d5c771801e92735a
mac80211: connect with HT20 if HT40 is not permitted

Some changes to fix issues with HT40 APs in Korea
and follow-up changes to allow using HT40 even if
the local regulatory database disallows it caused
issues with iwlwifi (and could cause issues with
other devices); iwlwifi firmware would assert if
you tried to connect to an AP that has an invalid
configuration (e.g. using HT40- on channel 140.)

Fix this, while avoiding the "Korean AP" issue by
disabling HT40 and advertising HT20 to the AP
when connecting.

Cc: stable@vger.kernel.org [3.6]
Reported-by: Florian Reitmeir <florian@reitmeir.org>
Tested-by: Florian Reitmeir <florian@reitmeir.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c