From: Emmanuel Grumbach Date: Wed, 17 Sep 2008 02:10:05 +0000 (+0800) Subject: iwlwifi: remove HT flags from RXON when not in HT anymore X-Git-Tag: v2.6.27.6~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a11e79100dd97d39cd88539046252961d4de9477;p=pandora-kernel.git iwlwifi: remove HT flags from RXON when not in HT anymore commit 42eb7c644afcdbcd7eac4d862046230856fbf531 upstream. This patch removes the HT flags from RXON when moving from HT to legacy. This avoids keeping those flags set and possibly miss configuring firmware. If we are configured in HT, fat channel: channel 1 above, and move later to legacy channel 11, we need to clear the FAT channel control flags in RXON. If we don't, the firmware will understand this as channel 11 above which is not possible due to regulatory constraints, leading to firmware crash. Signed-off-by: Emmanuel Grumbach Reviewed-by: Tomas Winkler Signed-off-by: Zhu Yi Signed-off-by: John W. Linville Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed