mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-17 07:54:54 +08:00
iwlwifi: mvm: fix typo in WARNING in rs.c
The current WARNING isn't very helpful. Reported-by: David Binderman <dcb314@hotmail.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
This commit is contained in:
parent
e5e7aa8e25
commit
b800040db5
@ -905,7 +905,7 @@ static void rs_get_lower_rate_down_column(struct iwl_lq_sta *lq_sta,
|
||||
|
||||
rate->bw = RATE_MCS_CHAN_WIDTH_20;
|
||||
|
||||
WARN_ON_ONCE(rate->index < IWL_RATE_MCS_0_INDEX &&
|
||||
WARN_ON_ONCE(rate->index < IWL_RATE_MCS_0_INDEX ||
|
||||
rate->index > IWL_RATE_MCS_9_INDEX);
|
||||
|
||||
rate->index = rs_ht_to_legacy[rate->index];
|
||||
|
Loading…
Reference in New Issue
Block a user