diff options
author | Guy Cohen <guy.cohen@intel.com> | 2008-05-26 23:29:34 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-05-28 16:43:47 -0400 |
commit | 47cfd463962ab0748ecbad761ff6ef2916b54aac (patch) | |
tree | 6590ee92320215c9faa2345db28b27aa181e3413 /drivers | |
parent | 4364623cb79d02945ace7a4faa1f11e617dde198 (diff) |
iwlwifi: fix exit from stay_in_table state
When exiting from stay in table state (e.g. timer expiration),
all the statistics are reset and the RS flow should not continue
but only after enough statistics are collected again.
Signed-off-by: Guy Cohen <guy.cohen@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-4965-rs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965-rs.c b/drivers/net/wireless/iwlwifi/iwl-4965-rs.c index c9847b1a67f7..02c4073f5a78 100644 --- a/drivers/net/wireless/iwlwifi/iwl-4965-rs.c +++ b/drivers/net/wireless/iwlwifi/iwl-4965-rs.c | |||
@@ -2009,7 +2009,7 @@ static void rs_rate_scale_perform(struct iwl_priv *priv, | |||
2009 | * 2) Not just finishing up a search | 2009 | * 2) Not just finishing up a search |
2010 | * 3) Allowing a new search | 2010 | * 3) Allowing a new search |
2011 | */ | 2011 | */ |
2012 | if (!update_lq && !done_search && !lq_sta->stay_in_tbl) { | 2012 | if (!update_lq && !done_search && !lq_sta->stay_in_tbl && window->counter) { |
2013 | /* Save current throughput to compare with "search" throughput*/ | 2013 | /* Save current throughput to compare with "search" throughput*/ |
2014 | lq_sta->last_tpt = current_tpt; | 2014 | lq_sta->last_tpt = current_tpt; |
2015 | 2015 | ||