]> git.karo-electronics.de Git - linux-beck.git/commit
ath10k: skip suspending when recovering
authorMichal Kazior <michal.kazior@tieto.com>
Wed, 23 Apr 2014 16:30:04 +0000 (19:30 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 24 Apr 2014 06:20:58 +0000 (09:20 +0300)
commit216a18367a4b287a9fa2bfeae9f22cbc344772b8
treef3e8ce4cdf36a441a51f49a587e869a93864b7da
parent7710cd2e240f507ec70897258b945c30e2ccb83a
ath10k: skip suspending when recovering

It doesn't make much sense to even try suspending
the device when recovering. Recovering means the
device is unresponsive and waiting for suspend
procedure means taking a 3 second timeout waiting
for tx credits.

This speeds up firmware recovery significantly.

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