From: Eyal Shapira Date: Tue, 25 Mar 2014 08:25:44 +0000 (+0200) Subject: iwlwifi: mvm: rs: fix mimo delimiter in LQ cmd X-Git-Tag: accepted/tizen/common/20141203.182822~169^2~1^2^2~8^2~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d9088f60425e0acd8a8f05fdfcfdd288d3258641;p=platform%2Fkernel%2Flinux-arm64.git iwlwifi: mvm: rs: fix mimo delimiter in LQ cmd mimo_delim was always set to 0 instead of pointing to the first SISO entry after MIMO rates. This can cause keep transmitting in MIMO even when we shouldn't. For example when the peer is requesting static SMPS. Cc: [3.14] Signed-off-by: Eyal Shapira Signed-off-by: Emmanuel Grumbach --- diff --git a/drivers/net/wireless/iwlwifi/mvm/rs.c b/drivers/net/wireless/iwlwifi/mvm/rs.c index 568abd6..dd13629 100644 --- a/drivers/net/wireless/iwlwifi/mvm/rs.c +++ b/drivers/net/wireless/iwlwifi/mvm/rs.c @@ -2547,6 +2547,7 @@ static void rs_build_rates_table(struct iwl_mvm *mvm, if (is_siso(&rate)) { num_rates = RS_SECONDARY_SISO_NUM_RATES; num_retries = RS_SECONDARY_SISO_RETRIES; + lq_cmd->mimo_delim = index; } else if (is_legacy(&rate)) { num_rates = RS_SECONDARY_LEGACY_NUM_RATES; num_retries = RS_LEGACY_RETRIES_PER_RATE;