iwlwifi: read rfkill during resume
authorJohannes Berg <johannes.berg@intel.com>
Fri, 18 Jun 2010 08:38:56 +0000 (01:38 -0700)
committerReinette Chatre <reinette.chatre@intel.com>
Fri, 25 Jun 2010 22:20:18 +0000 (15:20 -0700)
commit0ab84cff8befbea342576cd6dc21026d5c9244df
tree05b6640ae1208c0af7c395a8d36fec3efbcbe313
parent278c2f6faafebe28b9776918ce5fbaef9795c141
iwlwifi: read rfkill during resume

When resuming from hibernate or suspend,
the status of the rfkill switch isn't
known since it might have been toggled
while the system was asleep. Therefore,
we need to read out the status at resume
time to make sure the system knows about
an up-to-date status.

Reported-by: Mark Tung <mark.y.tung@intel.com>
Tested-by: Mark Tung <mark.y.tung@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
drivers/net/wireless/iwlwifi/iwl-core.c