mirror of https://gitee.com/openkylin/linux.git
[PATCH] iwlwifi: Fix typo in rate sacling algorithm
This patch fixes tiny typo in 4965 rate sacling algorithm Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
556f8db748
commit
46640a8cce
|
@ -1672,7 +1672,7 @@ static void rs_initialize_lq(struct iwl_priv *priv,
|
|||
tbl->antenna_type = ANT_AUX;
|
||||
rs_get_tbl_info_from_mcs(&mcs_rate, priv->phymode, tbl, &rate_idx);
|
||||
if (!rs_is_ant_connected(priv->valid_antenna, tbl->antenna_type))
|
||||
rs_toggle_antenna(&mcs_rate, tbl),
|
||||
rs_toggle_antenna(&mcs_rate, tbl);
|
||||
|
||||
rs_mcs_from_tbl(&mcs_rate, tbl, rate_idx, use_green);
|
||||
tbl->current_rate.rate_n_flags = mcs_rate.rate_n_flags;
|
||||
|
|
Loading…
Reference in New Issue