Xingyuan Mo <hdthky0@xxxxxxxxx> wrote: > We should check whether the WMI_TLV_TAG_STRUCT_MGMT_TX_COMPL_EVENT tlv is > present before accessing it, otherwise a null pointer deference error will > occur. > > Fixes: dc405152bb64 ("ath10k: handle mgmt tx completion event") > Signed-off-by: Xingyuan Mo <hdthky0@xxxxxxxxx> > Acked-by: Jeff Johnson <quic_jjohnson@xxxxxxxxxxx> > Signed-off-by: Kalle Valo <quic_kvalo@xxxxxxxxxxx> Patch applied to ath-next branch of ath.git, thanks. ad25ee36f001 wifi: ath10k: fix NULL pointer dereference in ath10k_wmi_tlv_op_pull_mgmt_tx_compl_ev() -- https://patchwork.kernel.org/project/linux-wireless/patch/20231208043433.271449-1-hdthky0@xxxxxxxxx/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches