]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
wifi: rtw88: Fix inadvertent sharing of struct ieee80211_supported_band data
authorBitterblue Smith <rtl8821cerfe2@gmail.com>
Tue, 23 Dec 2025 23:26:45 +0000 (01:26 +0200)
committerPing-Ke Shih <pkshih@realtek.com>
Fri, 26 Dec 2025 05:32:58 +0000 (13:32 +0800)
commitfcac0f23d4d20b11014a39f8e2527cdc12ec9c82
tree19deceff7aa75dae73b7e3036d80fa2ca54d2757
parent2ba12401cc1f2d970fa2e7d5b15abde3f5abd40d
wifi: rtw88: Fix inadvertent 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 rtw88 driven devices in the system, channel
information may get incoherent, preventing channel use.

Copied from commit 0ae36391c804 ("wifi: rtw89: Fix inadverent sharing
of struct ieee80211_supported_band data").

Signed-off-by: Bitterblue Smith <rtl8821cerfe2@gmail.com>
Acked-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/e94ad653-2b6d-4284-a33c-8c694f88955b@gmail.com
drivers/net/wireless/realtek/rtw88/main.c