aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEyal Shapira <eyal@wizery.com>2013-11-28 05:35:42 -0500
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>2013-12-09 15:29:48 -0500
commita56db7d100dc9695dad262e0c7f2ec3d6f6f186b (patch)
tree3f54115967af7213a60a8d340786fdb1068dfd64
parentda87d7d5e787d35a85ab821888e2f0e115dc18cc (diff)
iwlwifi: mvm: rs: use the proper channel width define for legacy rate
Use the 20Mhz channel width define instead of just the number zero for legacy rates. Note that the define has the same value so this is just a minor cleanup. Signed-off-by: Eyal Shapira <eyal@wizery.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
-rw-r--r--drivers/net/wireless/iwlwifi/mvm/rs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/rs.c b/drivers/net/wireless/iwlwifi/mvm/rs.c
index ef7126ad5d80..1bfdde52db5c 100644
--- a/drivers/net/wireless/iwlwifi/mvm/rs.c
+++ b/drivers/net/wireless/iwlwifi/mvm/rs.c
@@ -691,7 +691,7 @@ static u32 rs_get_lower_rate(struct iwl_lq_sta *lq_sta,
691 rate->ant = 691 rate->ant =
692 first_antenna(iwl_fw_valid_tx_ant(mvm->fw)); 692 first_antenna(iwl_fw_valid_tx_ant(mvm->fw));
693 693
694 rate->bw = 0; 694 rate->bw = RATE_MCS_CHAN_WIDTH_20;
695 rate->sgi = false; 695 rate->sgi = false;
696 } 696 }
697 697