ath10k: create debugfs interface to trigger fw crash
authorMichal Kazior <michal.kazior@tieto.com>
Mon, 22 Jul 2013 12:08:51 +0000 (14:08 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 30 Jul 2013 15:01:20 +0000 (18:01 +0300)
commit278c4a85e6267979ab164c0a8b57447005cf388c
tree2b08516174c973fe1fc8ed9e7bdb469803adee4d
parentcf84bd4defe22c7359bd3e4d6978bd88af1f8f90
ath10k: create debugfs interface to trigger fw crash

This can be useful for testing. To perform a
forced firmware crash write 'crash' to
'simulate_fw_crash' debugfs file. E.g.

  echo crash > /sys/kernel/debug/ieee80211/phy1/ath10k/simulate_fw_crash

Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/debug.c