iwlwifi: Fix to set correct ht configuration
authorWey-Yi Guy <wey-yi.w.guy@intel.com>
Fri, 5 Feb 2010 19:40:00 +0000 (11:40 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 23 Feb 2010 15:37:58 +0000 (07:37 -0800)
commit98d7938431c181dea6a03f5f89b550f081ad6220
treebf36be51ee7737253e755c8433642435492095a7
parentde30e10d0080bccca8fe56f8dcb75171fffdb695
iwlwifi: Fix to set correct ht configuration

commit 098dfded5b1b09927995e89c6d689f85a0f53384 upstream.

iwl_set_rxon_ht() only get called in iwl_post_associate(); which cause
possible incorrect ht configuration. Adding the call in iwl_mac_config() if
IEEE80211_CONF_CHANGE_CHANNEL flag is set to re-configure and send rxon
command.

Fixes
http://bugzilla.intellinuxwireless.org/show_bug.cgi?id=2146

Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/wireless/iwlwifi/iwl-core.c