diff options
author | John W. Linville <linville@tuxdriver.com> | 2011-12-14 20:35:41 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-12-14 20:35:41 +0100 |
commit | 5d22df200beccb1dea26fe4d8684ed93ae2f0aeb (patch) | |
tree | 05220b08a0c9d170ad88e3b9ed0390750d22d8ea /drivers/net/wireless/iwlwifi/iwl-agn-rxon.c | |
parent | b43: avoid calling bcma_* if CONFIG_B43_BCMA is not set (diff) | |
parent | iwlwifi: allow to switch to HT40 if not associated (diff) | |
download | linux-5d22df200beccb1dea26fe4d8684ed93ae2f0aeb.tar.xz linux-5d22df200beccb1dea26fe4d8684ed93ae2f0aeb.zip |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless
Conflicts:
drivers/net/wireless/iwlwifi/iwl-agn.c
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-agn-rxon.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-agn-rxon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-rxon.c b/drivers/net/wireless/iwlwifi/iwl-agn-rxon.c index 466e4ab544f7..d21f535a3b4f 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn-rxon.c +++ b/drivers/net/wireless/iwlwifi/iwl-agn-rxon.c @@ -610,8 +610,8 @@ int iwlagn_mac_config(struct ieee80211_hw *hw, u32 changed) 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; |