]> git.karo-electronics.de Git - linux-beck.git/commit
ath10k: don't wait for device init if it crashed
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:50 +0000 (09:20 +0300)
commit7710cd2e240f507ec70897258b945c30e2ccb83a
tree0c6da342130a123f27ee8336b05e2b0b21d0b8d1
parent6a4f6e1d295f4aa2e26056a859b76ccc769e75a5
ath10k: don't wait for device init if it crashed

When warm resetting it's possible for device to
crash during initialization. Instead of waiting 3
seconds just return failure as soon as
FW_IND_EVENT_PENDING is set.

This speeds up device bootup and recovery in some
cases.

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