Skip to content

Commit

Permalink
iwlagn: remove un-necessary step
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Wey-Yi Guy authored and John W. Linville committed Oct 14, 2011
1 parent d36120c commit c3322b3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/net/wireless/iwlwifi/iwl-agn-rs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

/**
Expand Down

0 comments on commit c3322b3

Please sign in to comment.