]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5dae8cdcad7b7bc15e26ffe9bbdeb31a1912b2c9
tree2b08516174c973fe1fc8ed9e7bdb469803adee4d
parente0dbac5a9ba71f0937082e81b437682386892658
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