Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b2769b84 authored by Johannes Berg's avatar Johannes Berg Committed by John W. Linville
Browse files

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: default avatarJohannes Berg <johannes.berg@intel.com>
Signed-off-by: default avatarWey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 8da8e628
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -538,6 +538,7 @@ void iwlagn_bss_info_changed(struct ieee80211_hw *hw,
		ctx->ht.non_gf_sta_present = !!(bss_conf->ht_operation_mode &
		ctx->ht.non_gf_sta_present = !!(bss_conf->ht_operation_mode &
					IEEE80211_HT_OP_MODE_NON_GF_STA_PRSNT);
					IEEE80211_HT_OP_MODE_NON_GF_STA_PRSNT);
		iwlagn_check_needed_chains(priv, ctx, bss_conf);
		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)
	if (priv->cfg->ops->hcmd->set_rxon_chain)