wifi: rtw89: fw: consider checksum length of security data

The newer firmware file provides security data with checksum, so we need to
consider the length. Otherwise it will fail to validate total firmware
length resulting in failed to probe.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://msgid.link/20240204012627.9647-2-pkshih@realtek.com
This commit is contained in:
Ping-Ke Shih 2024-02-04 09:26:24 +08:00 • committed by Kalle Valo
commit dedf78efd2
2 changed files with 6 additions and 0 deletions