Commit c3322b30 authored by Wey-Yi Guy's avatar Wey-Yi Guy Committed by John W. Linville

iwlagn: remove un-necessary step

No need to copy twice.
Signed-off-by: default avatarWey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent d36120c6
...@@ -2666,8 +2666,7 @@ static void rs_rate_scale_perform(struct iwl_priv *priv, ...@@ -2666,8 +2666,7 @@ static void rs_rate_scale_perform(struct iwl_priv *priv,
out: out:
tbl->current_rate = rate_n_flags_from_tbl(priv, tbl, index, is_green); tbl->current_rate = rate_n_flags_from_tbl(priv, tbl, index, is_green);
i = index; lq_sta->last_txrate_idx = index;
lq_sta->last_txrate_idx = i;
} }
/** /**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment