]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: sleep for at least 10 seconds
authorJohannes Berg <johannes.berg@intel.com>
Fri, 15 Feb 2013 10:00:58 +0000 (11:00 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 3 Apr 2013 20:49:52 +0000 (22:49 +0200)
commitb87ee9238bec3ef0b06f0bb27522e070934604a0
tree145679436f1bcaa9940f211c8ae61f71ec9a3c90
parent3a68751674f4e90861de183528ce4d0613405305
iwlwifi: sleep for at least 10 seconds

Many platforms have issues processing a wakeup signal
while they're still suspending, and will ignore it.
Since our device thinks it woke the platform, and the
platform ignored the signal, it will sleep without
WoWLAN being enabled as the device disables WoWLAN
when having woken the platform.

Resolve this by making the device wait for 10 seconds
after getting the suspend signal before waking up the
platform.

Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/dvm/lib.c
drivers/net/wireless/iwlwifi/mvm/d3.c