mirror of https://gitee.com/openkylin/linux.git
iwlagn: remove un-necessary step
No need to copy twice. Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
d36120c625
commit
c3322b30fe
|
@ -2666,8 +2666,7 @@ static void rs_rate_scale_perform(struct iwl_priv *priv,
|
|||
|
||||
out:
|
||||
tbl->current_rate = rate_n_flags_from_tbl(priv, tbl, index, is_green);
|
||||
i = index;
|
||||
lq_sta->last_txrate_idx = i;
|
||||
lq_sta->last_txrate_idx = index;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue