]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 31 Oct 2012 17:10:19 +0000 (10:10 -0700)
commita52e181f56c22cd26444e61c0ac87222bd187564
tree8e9ac62c835efa008d8aee844ee9263a168032f4
parentc5bb11c743f93a487b2e5806ede0cb14ca92c873
mac80211: connect with HT20 if HT40 is not permitted

commit 3a40414f826a8f1096d9b94c4a53ef91b25ba28d upstream.

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.

Reported-by: Florian Reitmeir <florian@reitmeir.org>
Tested-by: Florian Reitmeir <florian@reitmeir.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/mac80211/mlme.c