diff options
author | Johannes Berg <johannes.berg@intel.com> | 2010-11-10 12:56:47 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-11-15 13:26:55 -0500 |
commit | b2769b84d86a2d29fa131a763d2b23b112834420 (patch) | |
tree | 1e19b4bc7e877ebf91c29b457715366617e594c9 /drivers/net | |
parent | 8da8e62851680772f0422d0f1c4b467190b268e5 (diff) |
iwlagn: fix RXON HT
When the HT information is changed due to
BSS changes (like legacy stations joining)
we need to recalculate HT RXON parameters.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-agn-rxon.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-rxon.c b/drivers/net/wireless/iwlwifi/iwl-agn-rxon.c index d9d617fd5078..2d927a94074d 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn-rxon.c +++ b/drivers/net/wireless/iwlwifi/iwl-agn-rxon.c | |||
@@ -538,6 +538,7 @@ void iwlagn_bss_info_changed(struct ieee80211_hw *hw, | |||
538 | ctx->ht.non_gf_sta_present = !!(bss_conf->ht_operation_mode & | 538 | ctx->ht.non_gf_sta_present = !!(bss_conf->ht_operation_mode & |
539 | IEEE80211_HT_OP_MODE_NON_GF_STA_PRSNT); | 539 | IEEE80211_HT_OP_MODE_NON_GF_STA_PRSNT); |
540 | iwlagn_check_needed_chains(priv, ctx, bss_conf); | 540 | iwlagn_check_needed_chains(priv, ctx, bss_conf); |
541 | iwl_set_rxon_ht(priv, &priv->current_ht_config); | ||
541 | } | 542 | } |
542 | 543 | ||
543 | if (priv->cfg->ops->hcmd->set_rxon_chain) | 544 | if (priv->cfg->ops->hcmd->set_rxon_chain) |