diff options
author | Ben Cahill <ben.m.cahill@intel.com> | 2009-11-13 14:56:29 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-11-18 17:09:05 -0500 |
commit | 4d6ccbf57ff7653217b7149976aa31e19f996544 (patch) | |
tree | 3f9a8d626487006b557da4c7f936abea6e3ef775 | |
parent | ef8d5529b015d4c5db7fad1adfc91edfd5abad56 (diff) |
iwl3945: Reset saved POWER_TABLE_CMD in "up"
Power-saving logic will not re-issue a POWER_TABLE_CMD if a new command
matches the prior one. This can be bad if we re-start the device due to
e.g. uCode error; the new POWER_TABLE_CMD (required to invoke power-saving)
may match the prior POWER_TABLE_CMD issued before the uCode error.
Ensure the POWER_TABLE_CMD is sent to device when uCode is up.
Signed-off-by: Ben Cahill <ben.m.cahill@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl3945-base.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl3945-base.c b/drivers/net/wireless/iwlwifi/iwl3945-base.c index 93bb4d341be3..31f3c42b835c 100644 --- a/drivers/net/wireless/iwlwifi/iwl3945-base.c +++ b/drivers/net/wireless/iwlwifi/iwl3945-base.c | |||
@@ -2493,7 +2493,7 @@ static void iwl3945_alive_start(struct iwl_priv *priv) | |||
2493 | priv->active_rate = priv->rates_mask; | 2493 | priv->active_rate = priv->rates_mask; |
2494 | priv->active_rate_basic = priv->rates_mask & IWL_BASIC_RATES_MASK; | 2494 | priv->active_rate_basic = priv->rates_mask & IWL_BASIC_RATES_MASK; |
2495 | 2495 | ||
2496 | iwl_power_update_mode(priv, false); | 2496 | iwl_power_update_mode(priv, true); |
2497 | 2497 | ||
2498 | if (iwl_is_associated(priv)) { | 2498 | if (iwl_is_associated(priv)) { |
2499 | struct iwl3945_rxon_cmd *active_rxon = | 2499 | struct iwl3945_rxon_cmd *active_rxon = |