diff options
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-agn.c | 3 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-core.c | 8 |
2 files changed, 8 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.c b/drivers/net/wireless/iwlwifi/iwl-agn.c index 970d0b322659..d069549a01c2 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn.c +++ b/drivers/net/wireless/iwlwifi/iwl-agn.c | |||
@@ -2504,8 +2504,7 @@ static void iwl4965_post_associate(struct iwl_priv *priv) | |||
2504 | 2504 | ||
2505 | priv->staging_rxon.filter_flags |= RXON_FILTER_ASSOC_MSK; | 2505 | priv->staging_rxon.filter_flags |= RXON_FILTER_ASSOC_MSK; |
2506 | 2506 | ||
2507 | if (priv->current_ht_config.is_ht) | 2507 | iwl_set_rxon_ht(priv, &priv->current_ht_config); |
2508 | iwl_set_rxon_ht(priv, &priv->current_ht_config); | ||
2509 | 2508 | ||
2510 | iwl_set_rxon_chain(priv); | 2509 | iwl_set_rxon_chain(priv); |
2511 | priv->staging_rxon.assoc_id = cpu_to_le16(priv->assoc_id); | 2510 | priv->staging_rxon.assoc_id = cpu_to_le16(priv->assoc_id); |
diff --git a/drivers/net/wireless/iwlwifi/iwl-core.c b/drivers/net/wireless/iwlwifi/iwl-core.c index 8203887ca00c..4c312c55f90c 100644 --- a/drivers/net/wireless/iwlwifi/iwl-core.c +++ b/drivers/net/wireless/iwlwifi/iwl-core.c | |||
@@ -646,8 +646,14 @@ void iwl_set_rxon_ht(struct iwl_priv *priv, struct iwl_ht_info *ht_info) | |||
646 | struct iwl_rxon_cmd *rxon = &priv->staging_rxon; | 646 | struct iwl_rxon_cmd *rxon = &priv->staging_rxon; |
647 | u32 val; | 647 | u32 val; |
648 | 648 | ||
649 | if (!ht_info->is_ht) | 649 | if (!ht_info->is_ht) { |
650 | rxon->flags &= ~(RXON_FLG_CHANNEL_MODE_MIXED_MSK | | ||
651 | RXON_FLG_CHANNEL_MODE_PURE_40_MSK | | ||
652 | RXON_FLG_CTRL_CHANNEL_LOC_HI_MSK | | ||
653 | RXON_FLG_FAT_PROT_MSK | | ||
654 | RXON_FLG_HT_PROT_MSK); | ||
650 | return; | 655 | return; |
656 | } | ||
651 | 657 | ||
652 | /* Set up channel bandwidth: 20 MHz only, or 20/40 mixed if fat ok */ | 658 | /* Set up channel bandwidth: 20 MHz only, or 20/40 mixed if fat ok */ |
653 | if (iwl_is_fat_tx_allowed(priv, NULL)) | 659 | if (iwl_is_fat_tx_allowed(priv, NULL)) |