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)
commitc920487dfaa20d32ebc0cf12d988c0fe33cc4c84
tree145679436f1bcaa9940f211c8ae61f71ec9a3c90
parent2b2719c7b5bbe37717e74e3ff918a6baafe98be8
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