iwlwifi: mvm: refactor iwl_mvm_query_wakeup_reasons()
authorLuciano Coelho <luciano.coelho@intel.com>
Thu, 20 Nov 2014 08:14:44 +0000 (10:14 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 24 Nov 2014 06:30:38 +0000 (08:30 +0200)
commitec12f457d6e61148a89e77e48fa0d4b3deab7500
treeae0649792e10bfdafb26a1d664b5a8b11430fa61
parent3acc952b0376556e76752e355a0c885ec530d27f
iwlwifi: mvm: refactor iwl_mvm_query_wakeup_reasons()

Refactor the iwl_mvm_query_wakeup_reasons() function to split the part
that gets the firmware status from the part that sets up the WoWLAN
status.  This will allow netdetect to reuse the code.

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