]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
wifi: rtw89: usb: use ieee80211_free_txskb() where appropriate
authorFedor Pchelkin <pchelkin@ispras.ru>
Tue, 4 Nov 2025 13:57:10 +0000 (16:57 +0300)
committerPing-Ke Shih <pkshih@realtek.com>
Thu, 6 Nov 2025 06:28:34 +0000 (14:28 +0800)
commit45a6a88f011fc57ba8518f4d032cc2b4f6543c12
tree4a536e9846b19cd21caa51cf24b54ca7c0beb72c
parent7543818e97d5d54b3b2f75f1c4dedee298d7d914
wifi: rtw89: usb: use ieee80211_free_txskb() where appropriate

rtw89_usb_ops_tx_kick_off() may need to release skb if a failure occurs.
It operates mainly on skbs coming from the core wireless stack and the
ones containing firmware commands.

Use ieee80211_free_txskb() for the former case.

Suggested-by: Ping-Ke Shih <pkshih@realtek.com>
Acked-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Fedor Pchelkin <pchelkin@ispras.ru>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20251104135720.321110-4-pchelkin@ispras.ru
drivers/net/wireless/realtek/rtw89/usb.c