ath10k: prevent HTC from being used after stopping
authorMichal Kazior <michal.kazior@tieto.com>
Mon, 22 Jul 2013 12:13:28 +0000 (14:13 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 30 Jul 2013 15:01:20 +0000 (18:01 +0300)
commit08fe9b40d055d4ace995a5e1e93c7c17573f17a5
treef004ceaff3d860e7a875e1620c4421176a7ca11b
parent278c4a85e6267979ab164c0a8b57447005cf388c
ath10k: prevent HTC from being used after stopping

It was possible to submit new HTC commands
after/while HTC stopped. This led to memory
corruption in some rare cases.

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