]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: rtw89: fw: move v1 MSSC out of __parse_security_section() to share with v0
authorPing-Ke Shih <pkshih@realtek.com>
Wed, 30 Oct 2024 02:21:33 +0000 (10:21 +0800)
committerPing-Ke Shih <pkshih@realtek.com>
Wed, 6 Nov 2024 06:00:32 +0000 (14:00 +0800)
commitf9fe3baeb204109814eae4da93b050297464eaa8
treefe3b80616f33382b20fffd0b627058b0bc1a0a50
parent86ee0024e582d224e663cf878521a5bc9602c50f
wifi: rtw89: fw: move v1 MSSC out of __parse_security_section() to share with v0

The security section can be a common parser for v0 and v1 format of
firmware header, so move retrieval code of v1 MSSC from the function, and
then sharing becomes possible.

Not logic change at all.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20241030022135.11688-7-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/fw.c