]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: rtw89: Fix inadverent sharing of struct ieee80211_supported_band data
authorOndrej Jirman <megi@xff.cz>
Tue, 29 Apr 2025 12:29:11 +0000 (14:29 +0200)
committerPing-Ke Shih <pkshih@realtek.com>
Mon, 5 May 2025 02:16:22 +0000 (10:16 +0800)
commit0ae36391c804a0c7049812ce1d68e20cf8f1b84f
treeee87fa7938edb266ae938c2133c922942f54e72d
parent145df52a8671dc1cce4923904b3555971ee52612
wifi: rtw89: Fix inadverent sharing of struct ieee80211_supported_band data

Internally wiphy writes to individual channels in this structure,
so we must not share one static definition of channel list between
multiple device instances, because that causes hard to debug
breakage.

For example, with two rtw89 driven devices in the system, channel
information may get incoherent, preventing channel use.

Signed-off-by: Ondrej Jirman <megi@xff.cz>
Acked-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20250429122916.1734879-3-megi@xff.cz
drivers/net/wireless/realtek/rtw89/core.c