diff options
author | David S. Miller <davem@davemloft.net> | 2008-06-10 05:22:26 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-06-10 05:22:26 -0400 |
commit | 65b53e4cc90e59936733b3b95b9451d2ca47528d (patch) | |
tree | 29932718192962671c48c3fd1ea017a6112459e8 /drivers/net/wireless/iwlwifi/iwl-4965-rs.c | |
parent | 788c0a53164c05c5ccdb1472474372b72ba74644 (diff) | |
parent | 2e761e0532a784816e7e822dbaaece8c5d4be14d (diff) |
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts:
drivers/net/tg3.c
drivers/net/wireless/rt2x00/rt2x00dev.c
net/mac80211/ieee80211_i.h
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 | ||