]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
wifi: mac80211: Cleanup sta TXQs on flush
authorAlexander Wetzel <Alexander@wetzel-home.de>
Tue, 4 Feb 2025 12:31:29 +0000 (13:31 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Apr 2025 12:39:28 +0000 (14:39 +0200)
commit5d42a34137243b1d86acf02b49963c529ff6ea3e
tree6c1d69fcf6e46c275cf503ecb0aa60f0a538e28d
parenteb532ac40dc87f27d8e680c1a9c2801cbeae6e6a
wifi: mac80211: Cleanup sta TXQs on flush

[ Upstream commit 5b999006e35ea9c11116ddff7e375b256421d0af ]

Drop the sta TXQs on flush when the drivers is not supporting
flush.

ieee80211_set_disassoc() tries to clean up everything for the sta.
But it ignored queued frames in the sta TX queues when the driver
isn't supporting the flush driver ops.

Signed-off-by: Alexander Wetzel <Alexander@wetzel-home.de>
Link: https://patch.msgid.link/20250204123129.9162-1-Alexander@wetzel-home.de
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/mac80211/util.c