P Praneesh <quic_ppranees@xxxxxxxxxxx> wrote: > There is a race condition whereby the tx completion handler can be invoked > before the 'num_pending_mgmt_tx" count is incremented. If that occurs, we > could get warning trace indicating that 'num_pending_mgmt_tx' is 0 (because > it was not yet incremented). Ideally, this trace should be seen only if > mgmt tx has not happened but tx completion is received, and it is not > expected in this race condition. > > Tested-on: QCN9074 hw1.0 PCI WLAN.HK.2.4.0.1-01386-QCAHKSWPL_SILICONZ-1 > > Co-developed-by: Lavanya Suresh <lavaks@xxxxxxxxxxxxxx> > Signed-off-by: Lavanya Suresh <lavaks@xxxxxxxxxxxxxx> > Signed-off-by: P Praneesh <quic_ppranees@xxxxxxxxxxx> > Signed-off-by: Kalle Valo <kvalo@xxxxxxxxxxxxxx> Patch applied to ath-next branch of ath.git, thanks. c0b0d2e87d91 ath11k: Increment pending_mgmt_tx count before tx send invoke -- https://patchwork.kernel.org/project/linux-wireless/patch/1635168282-8845-1-git-send-email-quic_ppranees@xxxxxxxxxxx/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches