]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita0e0fb30cc56ecf7070ea27c83c0910c732162c1
tree6b78585cfd60cc663ea3786a6bf56954c5e32e64
parentd00048444d705e25036c2c6fb9feb8980ade68f1
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