ath10k: retry warm reset a few times
authorMichal Kazior <michal.kazior@tieto.com>
Wed, 14 May 2014 13:56:16 +0000 (16:56 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Fri, 16 May 2014 13:48:37 +0000 (16:48 +0300)
commit61c95cea66ae78502c19bfe72246769d980144c9
tree6b78585cfd60cc663ea3786a6bf56954c5e32e64
parentde01357b36f89ae918b12a81faf448fffe8288fc
ath10k: retry warm reset a few times

Sometimes warm reset works upon retry. It might be
related to imperfect warm reset routine, but for
now let's just do the retries.

This should improve the reliability of some chips
that hang/crash with cold reset which is used as a
last resort if warm reset fails.

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