ath10k: fix ath10k_debug_start() locking
authorKalle Valo <kvalo@qca.qualcomm.com>
Tue, 8 Oct 2013 18:45:25 +0000 (21:45 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Wed, 9 Oct 2013 14:14:55 +0000 (17:14 +0300)
ath10k_debug_start() was not called with conf_mutex, fix that. Also there was a
deadlock in ath10k_debug_stop(), rename it to ath10k_debug_destroy() and call
it only when the device is destroyed.

Reported-by: Mohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>

No differences found