diff options
author | Toke Høiland-Jørgensen <toke@toke.dk> | 2023-04-17 13:35:03 +0300 |
---|---|---|
committer | Kalle Valo <quic_kvalo@quicinc.com> | 2023-04-19 17:24:47 +0300 |
commit | b956e3110a797a3663f91f9b8935b667cc23fe72 (patch) | |
tree | dde47655c4d6580173f2f63877c4d11eabee880c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f9fff67d2d7ca6fa8066132003a3deef654c55b1 (diff) | |
download | linux-b956e3110a797a3663f91f9b8935b667cc23fe72.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
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: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20230413214118.153781-1-toke@toke.dk
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions