Commit 53bc1b73 authored by Ping-Ke Shih's avatar Ping-Ke Shih Committed by Johannes Berg
Browse files

wifi: mac80211: export ieee80211_purge_tx_queue() for drivers



Drivers need to purge TX SKB when stopping. Using skb_queue_purge() can't
report TX status to mac80211, causing ieee80211_free_ack_frame() warns
"Have pending ack frames!". Export ieee80211_purge_tx_queue() for drivers
to not have to reimplement it.

Signed-off-by: default avatarPing-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20240822014255.10211-1-pkshih@realtek.com


Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 373d3f8d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment