From: Daniel C Halperin Date: Wed, 8 Apr 2009 18:39:30 +0000 (-0700) Subject: iwlwifi: check triple_stream_basic_rates in iwl_full_rxon_required X-Git-Tag: MMI-PSA29.97-13-9~27597^2~645^2~77 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c2105fa7b68547a414095cfbf59bf513a9aae3ce;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git iwlwifi: check triple_stream_basic_rates in iwl_full_rxon_required For completeness, we should also make sure that the 3x3 MIMO rates are also checked when seeing if one rxon struct matches another. Signed-off-by: Daniel C Halperin Acked-by: Wey-Yi Guy Signed-off-by: Reinette Chatre Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/iwlwifi/iwl-core.c b/drivers/net/wireless/iwlwifi/iwl-core.c index 8f121fa3f325..5877293bd21f 100644 --- a/drivers/net/wireless/iwlwifi/iwl-core.c +++ b/drivers/net/wireless/iwlwifi/iwl-core.c @@ -735,6 +735,8 @@ int iwl_full_rxon_required(struct iwl_priv *priv) priv->active_rxon.ofdm_ht_single_stream_basic_rates) || (priv->staging_rxon.ofdm_ht_dual_stream_basic_rates != priv->active_rxon.ofdm_ht_dual_stream_basic_rates) || + (priv->staging_rxon.ofdm_ht_triple_stream_basic_rates != + priv->active_rxon.ofdm_ht_triple_stream_basic_rates) || (priv->staging_rxon.assoc_id != priv->active_rxon.assoc_id)) return 1;