wifi: ath11k: Remove cal_done check during probe
authorSeevalamuthu Mariappan <quic_seevalam@quicinc.com>
Wed, 26 Jul 2023 14:10:32 +0000 (19:40 +0530)
committerKalle Valo <quic_kvalo@quicinc.com>
Wed, 2 Aug 2023 16:49:39 +0000 (19:49 +0300)
commit13329d0cb7212b058bd8451a99d215a8f97645ea
treee5e4b1ce8b35478764a098b125bf2f77f81d94f6
parentbdfc967bf5fcd762473a01d39edb81f1165ba290
wifi: ath11k: Remove cal_done check during probe

In some race conditions, calibration done QMI message is received even
before host wait starts for calibration to be done.
Due to this, resetting firmware was not performed after calibration.

Hence, remove cal_done check in ath11k_qmi_fwreset_from_cold_boot()
as this is called only from probe.

Tested-on: QCN9074 hw1.0 PCI WLAN.HK.2.7.0.1-01744-QCAHKSWPL_SILICONZ-1

Signed-off-by: Seevalamuthu Mariappan <quic_seevalam@quicinc.com>
Signed-off-by: Raj Kumar Bhagat <quic_rajkbhag@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20230726141032.3061-4-quic_rajkbhag@quicinc.com
drivers/net/wireless/ath/ath11k/qmi.c