wifi: rtlwifi: rtl8821ae: make the read-only array params static const
authorColin Ian King <colin.i.king@gmail.com>
Wed, 11 Jun 2025 13:55:21 +0000 (14:55 +0100)
committerPing-Ke Shih <pkshih@realtek.com>
Mon, 16 Jun 2025 03:51:38 +0000 (11:51 +0800)
commit9b550b98f0da3ba80e63c431e0cf4d7ae32c865b
treebec493f282c58d962be5e10a64a7ab8dec74becc
parent2baacfe833460fee2f54b2c7270d632c98052cdc
wifi: rtlwifi: rtl8821ae: make the read-only array params static const

Don't populate the read-only array params on the stack at run time,
instead make it static const.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20250611135521.172521-1-colin.i.king@gmail.com
drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c