提交 c3322b30 编写于 作者: W Wey-Yi Guy 提交者: John W. Linville

iwlagn: remove un-necessary step

No need to copy twice.
Signed-off-by: NWey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册