1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/wireless/realtek
Ping-Ke Shih 5737b4515d rtw89: update partition size of firmware header on skb->data
The partition size is used to tell hardware the size of piece we are going
to send a firmware. The old code updates the size in constant buffer of
firmware, and leads system crash.

To fix this, update the size on skb->data after we copy the firmware data
into skb.

Buglink: https://bugzilla.opensuse.org/show_bug.cgi?id=1188303
Fixes: e3ec7017f6 ("rtw89: add Realtek 802.11ax driver")
Reported-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Tested-by: Takashi Iwai <tiwai@suse.de>
Tested-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20211119054512.10620-2-pkshih@realtek.com
2021-11-22 20:42:15 +02:00
..
rtl8xxxu rtl8xxxu: Use lower tx rates for the ack packet 2021-10-05 08:33:05 +03:00
rtl818x rtl8187: fix control-message timeouts 2021-10-28 16:26:18 +03:00
rtlwifi wireless: Remove redundant 'flush_workqueue()' calls 2021-10-13 09:22:19 +03:00
rtw88 rtw88: refine fw_crash debugfs to show non-zero while triggering 2021-10-05 08:28:36 +03:00
rtw89 rtw89: update partition size of firmware header on skb->data 2021-11-22 20:42:15 +02:00
Kconfig rtw89: add Realtek 802.11ax driver 2021-10-13 09:01:12 +03:00
Makefile rtw89: add Realtek 802.11ax driver 2021-10-13 09:01:12 +03:00