iwlwifi: allow to switch to HT40 if not associated
commita37fd0740a9d2b261dc3d7781e3f3923f9076bb1
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:13:55 +0000 (6 14:13 -0800)
treed403353fb729de0e764429e72bc214850f0c4dc3
parent3ed4fae4b9ff076b6a88b341491dc8dee2977f88
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