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)
commit87571bf0b8b27d4a97848ce48de34fa6d3b12db8
treec37ec7fc0a91b19bfada7daee079000f9d278604
parent293850575d0cba068913bcb22fc082286650516c
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