iwlwifi: check triple_stream_basic_rates in iwl_full_rxon_required
authorDaniel C Halperin <[email protected]>
Wed, 8 Apr 2009 18:39:30 +0000 (11:39 -0700)
committerJohn W. Linville <[email protected]>
Wed, 22 Apr 2009 20:54:44 +0000 (16:54 -0400)
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 <[email protected]>
Acked-by: Wey-Yi Guy <[email protected]>
Signed-off-by: Reinette Chatre <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
drivers/net/wireless/iwlwifi/iwl-core.c

index 8f121fa3f325ae1d46ebc317ccb12924debcefbd..5877293bd21f3cf093668444105a894f1f278c19 100644 (file)
@@ -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;