wifi: cfg80211: make read-only array centers_80mhz static const
authorColin Ian King <colin.i.king@gmail.com>
Tue, 19 Sep 2023 09:52:05 +0000 (10:52 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 25 Sep 2023 06:40:35 +0000 (08:40 +0200)
commit5b43bd71f4942afa79b0683f4f41b1d47a21a9c7
tree307fae8bcc76d482bd6eb97a180dde0a9016a218
parent5ee7b2ea07cc6972bc505103f5d483943754a601
wifi: cfg80211: make read-only array centers_80mhz static const

Don't populate the read-only array lanes on the stack, instead make
it static const.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Link: https://lore.kernel.org/r/20230919095205.24949-1-colin.i.king@gmail.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/tdls.c