iwlwifi: fix rf_kill state inconsistent during suspend and resume
authorZhu Yi <yi.zhu@intel.com>
Thu, 6 Dec 2007 08:08:44 +0000 (16:08 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 17 Dec 2007 22:01:40 +0000 (17:01 -0500)
commit53e490936a91940a153e231c3b8288e3ecfcc5aa
tree6e673ce79842b480d29008b2e4b23e32a39d73d1
parent1a8d122782bdabe4475f29d022c9a0c092ac9878
iwlwifi: fix rf_kill state inconsistent during suspend and resume

The patch fixes the STATUS_RF_KILL_HW state is not cleared problem if the
device goes to suspend when the rf_kill switch is enabled. The bug causes
the driver always thinks the rf_kill switch is enabled (although it is
disabled) after resume.

Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl3945-base.c
drivers/net/wireless/iwlwifi/iwl4965-base.c