ath11k: Fix QMI file type enum value
authorSeevalamuthu Mariappan <quic_seevalam@quicinc.com>
Mon, 29 Nov 2021 10:45:54 +0000 (16:15 +0530)
committerKalle Valo <quic_kvalo@quicinc.com>
Tue, 7 Dec 2021 15:17:59 +0000 (17:17 +0200)
commit18ae1ab04525507ae5528245a6df004cacd0d39a
treef96b04db8624e8935e07f3a7e6f11312277cf2be
parentd1147a316b53df9cb0152e415ec41dcb6ea62c1c
ath11k: Fix QMI file type enum value

bdf_type for caldata in QMI_WLANFW_BDF_DOWNLOAD_REQ_V01 is wrongly
sent as 1. But, expected bdf_type value for caldata and EEPROM is 2 and 3
respectively. It leads to firmware crash. Fix ath11k_qmi_file_type enum
values.

Tested-on: QCN9074 hw1.0 PCI WLAN.HK.2.5.0.1-01100-QCAHKSWPL_SILICONZ-1
Tested-on: IPQ8074 hw2.0 AHB WLAN.HK.2.4.0.1-00192-QCAHKSWPL_SILICONZ-1

Fixes: 336e7b53c82f ("ath11k: clean up BDF download functions")
Signed-off-by: Seevalamuthu Mariappan <quic_seevalam@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/1638182754-18408-1-git-send-email-quic_seevalam@quicinc.com
drivers/net/wireless/ath/ath11k/qmi.h