[PATCH] wifi: ath11k: Fix qmi_msg_handler data structure initialization
Kalle Valo
kvalo at kernel.org
Wed Nov 2 08:53:51 PDT 2022
Rahul Bhattacharjee <quic_rbhattac at quicinc.com> wrote:
> qmi_msg_handler is required to be null terminated by QMI module.
> There might be a case where a handler for a msg id is not present in the
> handlers array which can lead to infinite loop while searching the handler
> and therefore out of bound access in qmi_invoke_handler().
> Hence update the initialization in qmi_msg_handler data structure.
>
> Tested-on: IPQ8074 hw2.0 AHB WLAN.HK.2.5.0.1-01100-QCAHKSWPL_SILICONZ-1
>
> Signed-off-by: Rahul Bhattacharjee <quic_rbhattac at quicinc.com>
> Signed-off-by: Kalle Valo <quic_kvalo at quicinc.com>
Patch applied to ath-next branch of ath.git, thanks.
ed3725e15a15 wifi: ath11k: Fix qmi_msg_handler data structure initialization
--
https://patchwork.kernel.org/project/linux-wireless/patch/20221021090126.28626-1-quic_rbhattac@quicinc.com/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
More information about the ath11k
mailing list