diff options
author | Ping-Ke Shih <[email protected]> | 2021-11-19 13:45:10 +0800 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2021-11-22 20:42:15 +0200 |
commit | 5737b4515deea0829c138ab5201160345ec67d49 (patch) | |
tree | 80d7b65d500cdfeb19c4c79cf7a57d44b252fbdd /scripts/gdb/linux/proc.py | |
parent | a571bc28326d9f3e13f5f2d9cda2883e0631b0ce (diff) |
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: e3ec7017f6a2 ("rtw89: add Realtek 802.11ax driver")
Reported-by: Takashi Iwai <[email protected]>
Signed-off-by: Ping-Ke Shih <[email protected]>
Tested-by: Takashi Iwai <[email protected]>
Tested-by: Larry Finger <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions