]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
iwlagn: fix RXON HT
authorJohannes Berg <johannes.berg@intel.com>
Wed, 10 Nov 2010 17:56:47 +0000 (09:56 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 15 Nov 2010 18:26:55 +0000 (13:26 -0500)
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>
drivers/net/wireless/iwlwifi/iwl-agn-rxon.c

index d9d617fd5078af0496e79ca42a91f0922cbfd15c..2d927a94074da155ed24e5c9be03598725567839 100644 (file)
@@ -538,6 +538,7 @@ void iwlagn_bss_info_changed(struct ieee80211_hw *hw,
                ctx->ht.non_gf_sta_present = !!(bss_conf->ht_operation_mode &
                                        IEEE80211_HT_OP_MODE_NON_GF_STA_PRSNT);
                iwlagn_check_needed_chains(priv, ctx, bss_conf);
+               iwl_set_rxon_ht(priv, &priv->current_ht_config);
        }
 
        if (priv->cfg->ops->hcmd->set_rxon_chain)