diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-4965-rs.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-4965-rs.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965-rs.c b/drivers/net/wireless/iwlwifi/iwl-4965-rs.c index a955f9c1b9ee..d8f2b4d33fd9 100644 --- a/drivers/net/wireless/iwlwifi/iwl-4965-rs.c +++ b/drivers/net/wireless/iwlwifi/iwl-4965-rs.c | |||
@@ -1145,7 +1145,6 @@ static s32 rs_get_best_rate(struct iwl_priv *priv, | |||
1145 | 1145 | ||
1146 | /* Higher rate not available, use the original */ | 1146 | /* Higher rate not available, use the original */ |
1147 | } else { | 1147 | } else { |
1148 | new_rate = rate; | ||
1149 | break; | 1148 | break; |
1150 | } | 1149 | } |
1151 | } | 1150 | } |
@@ -1977,7 +1976,7 @@ lq_update: | |||
1977 | * 2) Not just finishing up a search | 1976 | * 2) Not just finishing up a search |
1978 | * 3) Allowing a new search | 1977 | * 3) Allowing a new search |
1979 | */ | 1978 | */ |
1980 | if (!update_lq && !done_search && !lq_sta->stay_in_tbl) { | 1979 | if (!update_lq && !done_search && !lq_sta->stay_in_tbl && window->counter) { |
1981 | /* Save current throughput to compare with "search" throughput*/ | 1980 | /* Save current throughput to compare with "search" throughput*/ |
1982 | lq_sta->last_tpt = current_tpt; | 1981 | lq_sta->last_tpt = current_tpt; |
1983 | 1982 | ||