summaryrefslogtreecommitdiff
path: root/net/ipv6
diff options
context:
space:
mode:
authorToke Høiland-Jørgensen <toke@toke.dk>2023-04-14 00:41:18 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2023-04-21 01:26:37 +0300
commit0f2a4af27b649c13ba76431552fe49c60120d0f6 (patch)
treed0e0555e81c886d954fc2712c5c173ad750e9627 /net/ipv6
parent6a66fdd29ea1695d615fcc93dccfb6dbe2f53b1d (diff)
downloadlinux-0f2a4af27b649c13ba76431552fe49c60120d0f6.tar.xz
wifi: ath9k: Don't mark channelmap stack variable read-only in ath9k_mci_update_wlan_channels()
This partially reverts commit e161d4b60ae3a5356e07202e0bfedb5fad82c6aa. Turns out the channelmap variable is not actually read-only, it's modified through the MCI_GPM_CLR_CHANNEL_BIT() macro further down in the function, so making it read-only causes page faults when that code is hit. Link: https://bugzilla.kernel.org/show_bug.cgi?id=217183 Link: https://lore.kernel.org/r/20230413214118.153781-1-toke@toke.dk Fixes: e161d4b60ae3 ("wifi: ath9k: Make arrays prof_prio and channelmap static const") Cc: stable@vger.kernel.org Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net/ipv6')
0 files changed, 0 insertions, 0 deletions