[kernel] r18426 - in dists/sid/linux-2.6/debian: . patches/bugfix/all patches/series

Ben Hutchings benh at alioth.debian.org
Wed Dec 28 16:20:46 UTC 2011


Author: benh
Date: Wed Dec 28 16:20:44 2011
New Revision: 18426

Log:
iwlwifi: allow to switch to HT40 if not associated (Closes: #653423)

Added:
   dists/sid/linux-2.6/debian/patches/bugfix/all/iwlwifi-allow-to-switch-to-ht40-if-not-associated.patch
Modified:
   dists/sid/linux-2.6/debian/changelog
   dists/sid/linux-2.6/debian/patches/series/base

Modified: dists/sid/linux-2.6/debian/changelog
==============================================================================
--- dists/sid/linux-2.6/debian/changelog	Wed Dec 28 13:56:05 2011	(r18425)
+++ dists/sid/linux-2.6/debian/changelog	Wed Dec 28 16:20:44 2011	(r18426)
@@ -2,6 +2,7 @@
 
   [ Ben Hutchings ]
   * snapshot: Implement compat_ioctl (Closes: #502816)
+  * iwlwifi: allow to switch to HT40 if not associated (Closes: #653423)
 
   [ Jonathan Nieder ]
   * prerm: Print an error message when aborting removal of the running

Added: dists/sid/linux-2.6/debian/patches/bugfix/all/iwlwifi-allow-to-switch-to-ht40-if-not-associated.patch
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ dists/sid/linux-2.6/debian/patches/bugfix/all/iwlwifi-allow-to-switch-to-ht40-if-not-associated.patch	Wed Dec 28 16:20:44 2011	(r18426)
@@ -0,0 +1,39 @@
+From: Wey-Yi Guy <wey-yi.w.guy at intel.com>
+Date: Wed, 14 Dec 2011 08:22:36 -0800
+Subject: iwlwifi: allow to switch to HT40 if not associated
+
+From: Wey-Yi Guy <wey-yi.w.guy at intel.com>
+
+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 at udo.edu>
+Signed-off-by: Wey-Yi Guy <wey-yi.w.guy at intel.com>
+Tested-by: Andrej Gelenberg <andrej.gelenberg at udo.edu>
+Signed-off-by: John W. Linville <linville at tuxdriver.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh at suse.de>
+
+---
+ drivers/net/wireless/iwlwifi/iwl-agn-rxon.c |    4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+--- a/drivers/net/wireless/iwlwifi/iwl-agn-rxon.c
++++ b/drivers/net/wireless/iwlwifi/iwl-agn-rxon.c
+@@ -620,8 +620,8 @@ int iwlagn_mac_config(struct ieee80211_h
+ 			if (ctx->ht.enabled) {
+ 				/* if HT40 is used, it should not change
+ 				 * after associated except channel switch */
+-				if (iwl_is_associated_ctx(ctx) &&
+-				     !ctx->ht.is_40mhz)
++				if (!ctx->ht.is_40mhz ||
++						!iwl_is_associated_ctx(ctx))
+ 					iwlagn_config_ht40(conf, ctx);
+ 			} else
+ 				ctx->ht.is_40mhz = false;

Modified: dists/sid/linux-2.6/debian/patches/series/base
==============================================================================
--- dists/sid/linux-2.6/debian/patches/series/base	Wed Dec 28 13:56:05 2011	(r18425)
+++ dists/sid/linux-2.6/debian/patches/series/base	Wed Dec 28 16:20:44 2011	(r18426)
@@ -87,3 +87,4 @@
 + debian/inetpeer-hide-ABI-change-in-3.1.5.patch
 + bugfix/all/cciss-Add-IRQF_SHARED-back-in-for-the-non-MSI-X-inte.patch
 + bugfix/all/snapshot-Implement-compat_ioctl.patch
++ bugfix/all/iwlwifi-allow-to-switch-to-ht40-if-not-associated.patch



More information about the Kernel-svn-changes mailing list