iwlwifi: mvm: refactor wowlan and netdetect configuration when suspending
authorLuciano Coelho <luciano.coelho@intel.com>
Wed, 19 Nov 2014 20:35:37 +0000 (22:35 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 24 Nov 2014 06:30:37 +0000 (08:30 +0200)
commit3acc952b0376556e76752e355a0c885ec530d27f
tree96806a0d75a7d2875a1ff45b61786fab36f034bc
parentc55385f55ccb087e9eb0c2f0108a4fc4c1fef446
iwlwifi: mvm: refactor wowlan and netdetect configuration when suspending

We need to send a WOWLAN_CONFIGURATION command also for netdetect and
configure the rfkill release trigger if needed.  To do so, refactor
the code that configures wowlan and netdetect when suspending and send
the WOWLAN_CONFIGURATION command also for net_detect.

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