wifi: mt76: free pending offchannel tx frames on wcid cleanup

[ Upstream commit bdeac78156 ]

Avoid leaking them or keeping the wcid on the tx list

Fixes: 0b3be9d1d3 ("wifi: mt76: add separate tx scheduling queue for off-channel tx")
Link: https://patch.msgid.link/20250827085352.51636-5-nbd@nbd.name
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Felix Fietkau 2025-08-27 10:53:51 +02:00 • committed by Greg Kroah-Hartman
commit 2aef3667e6