diff options
author | Bitterblue Smith <rtl8821cerfe2@gmail.com> | 2024-05-03 13:53:28 +0300 |
---|---|---|
committer | Ping-Ke Shih <pkshih@realtek.com> | 2024-05-09 14:20:09 +0800 |
commit | a892f6ffbec7a1a25c639534bee62200418242f9 (patch) | |
tree | ae63b8267693fdb935788aa3bc2b5cbfd531292f /tools/perf | |
parent | d0bcb10e7b94861c714ab1e62c98bf8abaa37527 (diff) |
wifi: rtw88: usb: Simplify rtw_usb_write_data
The skb created in this function always has the same headroom,
the chip's TX descriptor size. (pkt_info->offset is set by
rtw_usb_write_data_rsvd_page() to chip->tx_pkt_desc_sz.) Use
chip->tx_pkt_desc_sz directly.
Signed-off-by: Bitterblue Smith <rtl8821cerfe2@gmail.com>
Tested-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://msgid.link/2479507e-3946-492f-857e-83e54969aad2@gmail.com
Diffstat (limited to 'tools/perf')
0 files changed, 0 insertions, 0 deletions