iwlwifi: mvm: split wowlan handling out of the main suspend function
authorLuciano Coelho <luciano.coelho@intel.com>
Mon, 22 Sep 2014 07:59:53 +0000 (10:59 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 29 Oct 2014 10:49:12 +0000 (12:49 +0200)
commit671b58202e485f26abf1f92c1b52ed45d03d0438
tree73bc73489df81c23030fc3bba29ea144b0a6136e
parent31ca09dd6becfd954098ca7ddb6c1e27b13fe5d7
iwlwifi: mvm: split wowlan handling out of the main suspend function

Take the WoWLAN handling code out of the main suspend function,
dividing it into three parts: get_config (which is used before the
firmware is switched), switch_to_d3 (which handles the rebooting of
the hardware with the D3 firmware) and config (which configures the D3
firmware for WoWLAN operation).  This is necessary to prepare for the
net-detect implementation, which will use only the switch_to_d3 part
of this flow.

Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/d3.c