linux-stable/drivers/staging
Martin Kaiser 76d01595b2 staging: r8188eu: calculate the addba request length
When issue_action_BA compiles an addba request, it does not add any
extensions. start_seq_num is the last field of the addba request.

The length of the request is the offset of the end of start_seq_num in the
struct ieee80211_mgmt that defines the message.

Use offsetofend to calculate this offset and drop the intermediate pktlen
increments as we add addba request components. (We have to keep the
increments for other message types until we use offsetofend for them as
well.)

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20220524090029.242584-13-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-06-06 07:59:47 +02:00
..
axis-fifo
board
clocking-wizard
emxx_udc
fbtft
fieldbus
fwserial
gdm724x
greybus staging: greybus: Fix indentation in fw-management.c 2022-06-06 07:56:25 +02:00
iio
ks7010
media
most
nvec
octeon
octeon-usb
olpc_dcon
pi433
qlge staging: qlge: fix typo in comment 2022-06-06 07:42:02 +02:00
r8188eu staging: r8188eu: calculate the addba request length 2022-06-06 07:59:47 +02:00
rtl8192e
rtl8192u
rtl8712
rtl8723bs
rts5208 staging: rts5208: spi.c: fix codestyle error in dynamic debug code 2022-06-06 07:53:49 +02:00
sm750fb staging: sm750fb: fix camelCase function name 2022-06-06 07:56:09 +02:00
vc04_services
vme_user
vt6655 staging: vt6655: Delete upc.h 2022-06-06 07:58:41 +02:00
vt6656
wlan-ng
Kconfig
Makefile