diff options
author | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2011-10-10 10:26:58 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-10-14 14:48:10 -0400 |
commit | c3322b30fe37db53feb4f60ccb1eb5175af2d2e0 (patch) | |
tree | 04355d42c83cc261ed9c025e7a241f9724bbff74 /drivers | |
parent | d36120c6259e0d5bc435b8b690f73907357c26fb (diff) |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-agn-rs.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-rs.c b/drivers/net/wireless/iwlwifi/iwl-agn-rs.c index 7d6a3bf64950..353af8f995b0 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn-rs.c +++ b/drivers/net/wireless/iwlwifi/iwl-agn-rs.c | |||
@@ -2666,8 +2666,7 @@ lq_update: | |||
2666 | 2666 | ||
2667 | out: | 2667 | out: |
2668 | tbl->current_rate = rate_n_flags_from_tbl(priv, tbl, index, is_green); | 2668 | tbl->current_rate = rate_n_flags_from_tbl(priv, tbl, index, is_green); |
2669 | i = index; | 2669 | lq_sta->last_txrate_idx = index; |
2670 | lq_sta->last_txrate_idx = i; | ||
2671 | } | 2670 | } |
2672 | 2671 | ||
2673 | /** | 2672 | /** |