summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless
diff options
context:
space:
mode:
authorEliad Peller <eliad@wizery.com>2014-12-23 15:05:14 +0200
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>2014-12-28 20:05:49 +0200
commitd9f1fc209fdb18d0edd6cc633a8725adbfb0ca01 (patch)
tree45715129a87f92d71e25c10a519eb4be3689e6f9 /drivers/net/wireless
parentb48217670f6e98491b7cff6b66534b4651347763 (diff)
downloadblackbird-obmc-linux-d9f1fc209fdb18d0edd6cc633a8725adbfb0ca01.tar.gz
blackbird-obmc-linux-d9f1fc209fdb18d0edd6cc633a8725adbfb0ca01.zip
iwlwifi: mvm: ask the fw to wakeup (from d0i3) on sysassert
Set the wakeup flag (of the d3 command) to configure the fw to wakeup when sysassert happens while in d0i3. Signed-off-by: Eliad Peller <eliadx.peller@intel.com> Reviewed-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r--drivers/net/wireless/iwlwifi/mvm/ops.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/ops.c b/drivers/net/wireless/iwlwifi/mvm/ops.c
index 490696791cfd..239f033e3b93 100644
--- a/drivers/net/wireless/iwlwifi/mvm/ops.c
+++ b/drivers/net/wireless/iwlwifi/mvm/ops.c
@@ -1049,6 +1049,7 @@ int iwl_mvm_enter_d0i3(struct iwl_op_mode *op_mode)
};
struct iwl_d3_manager_config d3_cfg_cmd = {
.min_sleep_time = cpu_to_le32(1000),
+ .wakeup_flags = cpu_to_le32(IWL_WAKEUP_D3_CONFIG_FW_ERROR),
};
IWL_DEBUG_RPM(mvm, "MVM entering D0i3\n");
OpenPOWER on IntegriCloud