wifi: ath11k: Don't exit on wakeup failure
authorBaochen Qiang <quic_bqiang@quicinc.com>
Wed, 28 Sep 2022 01:51:40 +0000 (09:51 +0800)
committerKalle Valo <quic_kvalo@quicinc.com>
Fri, 30 Sep 2022 06:33:06 +0000 (09:33 +0300)
commit45d2e268369b0c768d5a644f319758bcfd370521
tree3692e81f8c7e52e1d9eecced8fd93d6bac2598e1
parent9ec6e20776abda3ca03ab97b1caa8310074427c1
wifi: ath11k: Don't exit on wakeup failure

Currently, ath11k_pcic_read() returns an error if wakeup()
fails, this makes firmware crash debug quite hard because we can
get nothing.

Change to go ahead on wakeup failure, in that case we still may
get something valid to check. There should be no mislead due
to incorrect content because we are aware of the failure with the
log printed.

Tested-on: WCN6855 hw2.0 PCI WLAN.HSP.1.1-01720.1-QCAHSPSWPL_V1_V2_SILICONZ_LITE-1

Signed-off-by: Baochen Qiang <quic_bqiang@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20220928015140.5431-1-quic_bqiang@quicinc.com
drivers/net/wireless/ath/ath11k/pcic.c