Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wifi: ath9k: Don't mark channelmap stack variable read-only in ath9k_…
…mci_update_wlan_channels() This partially reverts commit e161d4b. 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/[email protected] Fixes: e161d4b ("wifi: ath9k: Make arrays prof_prio and channelmap static const") Cc: [email protected] Signed-off-by: Toke Høiland-Jørgensen <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
- Loading branch information