iwl3945: Reset saved POWER_TABLE_CMD in "up"
authorBen Cahill <ben.m.cahill@intel.com>
Fri, 13 Nov 2009 19:56:29 +0000 (11:56 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 18 Nov 2009 22:09:05 +0000 (17:09 -0500)
commit4d6ccbf57ff7653217b7149976aa31e19f996544
tree3f9a8d626487006b557da4c7f936abea6e3ef775
parentef8d5529b015d4c5db7fad1adfc91edfd5abad56
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>
drivers/net/wireless/iwlwifi/iwl3945-base.c