projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da87d7d
)
iwlwifi: mvm: rs: use the proper channel width define for legacy rate
author
Eyal Shapira
<eyal@wizery.com>
Thu, 28 Nov 2013 10:35:42 +0000
(12:35 +0200)
committer
Emmanuel Grumbach
<emmanuel.grumbach@intel.com>
Mon, 9 Dec 2013 20:29:48 +0000
(22:29 +0200)
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>
drivers/net/wireless/iwlwifi/mvm/rs.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/iwlwifi/mvm/rs.c
b/drivers/net/wireless/iwlwifi/mvm/rs.c
index
ef7126a
..
1bfdde5
100644
(file)
--- 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,
rate->ant =
first_antenna(iwl_fw_valid_tx_ant(mvm->fw));
- rate->bw = 0;
+ rate->bw =
RATE_MCS_CHAN_WIDTH_2
0;
rate->sgi = false;
}