]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: skip fw stats debugfs interface if device is down
authorMichal Kazior <michal.kazior@tieto.com>
Tue, 16 Jul 2013 07:38:59 +0000 (09:38 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 30 Jul 2013 15:01:20 +0000 (18:01 +0300)
commitd05c8a297eaeae7f030d4d18ad6360a72ba744c1
treec37ec7fc0a91b19bfada7daee079000f9d278604
parent820ca4e7fd8f2911e22d87a3a9f0a582edecd91e
ath10k: skip fw stats debugfs interface if device is down

If the device is not running then there may be no
FW at all to send the query to. If the FW is
already there it might still trigger a crash if
the command is sent before the device is fully
initialized.

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