Lines 606-613
int iwlagn_mac_config(struct ieee80211_hw *hw, u32 changed)
Link Here
|
606 |
if (ctx->ht.enabled) { |
606 |
if (ctx->ht.enabled) { |
607 |
/* if HT40 is used, it should not change |
607 |
/* if HT40 is used, it should not change |
608 |
* after associated except channel switch */ |
608 |
* after associated except channel switch */ |
609 |
if (iwl_is_associated_ctx(ctx) && |
609 |
if (!ctx->ht.is_40mhz || |
610 |
!ctx->ht.is_40mhz) |
610 |
!iwl_is_associated_ctx(ctx)) |
611 |
iwlagn_config_ht40(conf, ctx); |
611 |
iwlagn_config_ht40(conf, ctx); |
612 |
} else |
612 |
} else |
613 |
ctx->ht.is_40mhz = false; |
613 |
ctx->ht.is_40mhz = false; |
614 |
- |
|
|