diff options
author | Martin Kaiser <martin@kaiser.cx> | 2022-06-02 21:37:24 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-06-06 08:08:35 +0200 |
commit | d8f2cff63249fdf7f2cf78e70344613db1fc4e53 (patch) | |
tree | b90f61f8084654d7e89b921cba05b183dc28b49d /scripts/gdb/linux/config.py | |
parent | 3d7deed4ec52d2018f81d0e798966b551c7d1487 (diff) |
staging: r8188eu: calculate the delba length
Use offsetofend to calculate the length of the delba message.
We are now calculating all message lengths based on the offset of their
last field. All intermediate updates of pattrib->pktlen can be removed.
Tested-by: Pavel Skripkin <paskripkin@gmail.com>
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20220602193726.280922-10-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux/config.py')
0 files changed, 0 insertions, 0 deletions