iwlwifi: mvm: allow firmware crashes to wake system for debug
commitb01147140a2a609d91538fdfec8e2d688d379662
authorJohannes Berg <johannes.berg@intel.com>
Wed, 12 Jun 2013 12:55:40 +0000 (12 14:55 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 18 Jun 2013 09:51:51 +0000 (18 11:51 +0200)
tree4bf22ae0ce05c21c39a8161e79839bdff9e5c858
parenta2d0909a687b4d250cc2b7481072e361678745ba
iwlwifi: mvm: allow firmware crashes to wake system for debug

When the D3 firmware crashes, it can be helpful for debugging to
resume the system to get the SRAM snapshot to see why it crashed.
Allow enabling this with a debugfs option.

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