[PATCH ath-current] wifi: ath12k: fix dead lock while flushing management frames
Jeff Johnson
jeff.johnson at oss.qualcomm.com
Tue Jan 13 07:29:27 PST 2026
On Tue, 13 Jan 2026 09:48:11 +0800, Baochen Qiang wrote:
> Commit [1] converted the management transmission work item into a
> wiphy work. Since a wiphy work can only run under wiphy lock
> protection, a race condition happens in below scenario:
>
> 1. a management frame is queued for transmission.
> 2. ath12k_mac_op_flush() gets called to flush pending frames associated
> with the hardware (i.e, vif being NULL). Then in ath12k_mac_flush()
> the process waits for the transmission done.
> 3. Since wiphy lock has been taken by the flush process, the transmission
> work item has no chance to run, hence the dead lock.
>
> [...]
Applied, thanks!
[1/1] wifi: ath12k: fix dead lock while flushing management frames
commit: f88e9fc30a261d63946ddc6cc6a33405e6aa27c3
Best regards,
--
Jeff Johnson <jeff.johnson at oss.qualcomm.com>
More information about the ath12k
mailing list