|
@@ -606,8 +606,8 @@ int iwlagn_mac_config(struct ieee80211_hw *hw, u32 changed)
|
|
if (ctx->ht.enabled) {
|
|
if (ctx->ht.enabled) {
|
|
/* if HT40 is used, it should not change
|
|
/* if HT40 is used, it should not change
|
|
* after associated except channel switch */
|
|
* 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);
|
|
iwlagn_config_ht40(conf, ctx);
|
|
} else
|
|
} else
|
|
ctx->ht.is_40mhz = false;
|
|
ctx->ht.is_40mhz = false;
|