]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: refactor iwl_mvm_power_set_pm() to spin the ps part off
authorLuciano Coelho <luciano.coelho@intel.com>
Fri, 8 Aug 2014 15:36:22 +0000 (18:36 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 3 Sep 2014 19:48:57 +0000 (22:48 +0300)
commit751bd4698dbb121964d8debb62d5ae178cf4bfcf
tree804b1c4ed8ffed66bc2db90c8f6f7df5fd39d2ab
parent2e911bdaa87fe03db60fd915b550359181457a4f
iwlwifi: mvm: refactor iwl_mvm_power_set_pm() to spin the ps part off

Separate the ps part of iwl_mvm_power_set_pm() into a new
iwl_mvm_power_set_ps() function.  This will enable us to update the ps
part independently from the rest, which is needed by CSA (at least).

This required a bit of refactoring and the creation of a new iterator
function.

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/power.c