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:
Wey-Yi Guy 2011-10-10 07:26:58 -07:00 committed by John W. Linville
parent d36120c625
commit c3322b30fe
1 changed files with 1 additions and 2 deletions

View File

@ -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;
}
/**