iwlwifi: allow to switch to HT40 if not associated
commitdb3be35a9693545112a3d22f35efe31bc6efab06
authorWey-Yi Guy <wey-yi.w.guy@intel.com>
Wed, 14 Dec 2011 16:22:36 +0000 (14 08:22 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 6 Jan 2012 22:17:16 +0000 (6 14:17 -0800)
tree5ad9eea4348b94f32d014df328d14c5de5257d3f
parent3b610f6383fc35467b8451621b7ce4d154196e4a
iwlwifi: allow to switch to HT40 if not associated

commit 78feb35b8161acd95c33a703ed6ab6f554d29387 upstream.

My previous patch
34a5b4b6af104cf18eb50748509528b9bdbc4036 iwlwifi: do not re-configure
HT40 after associated

Fix the case of HT40 after association on specified AP, but it break the
association for some APs and cause not able to establish connection.
We need to address HT40 before and after addociation.

Reported-by: Andrej Gelenberg <andrej.gelenberg@udo.edu>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Tested-by: Andrej Gelenberg <andrej.gelenberg@udo.edu>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/wireless/iwlwifi/iwl-agn-rxon.c