diff options
author | Sascha Hauer <[email protected]> | 2024-08-09 10:11:33 +0200 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2024-08-16 12:47:39 +0300 |
commit | 27ec3c57fcadb43c79ed05b2ea31bc18c72d798a (patch) | |
tree | 2a76dff044b50e22b4afc18e99e11e148720a2f5 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | e37a9184f27084b891d3617723b9410f8fcaff99 (diff) |
wifi: mwifiex: duplicate static structs used in driver instances
mwifiex_band_2ghz and mwifiex_band_5ghz are statically allocated, but
used and modified in driver instances. Duplicate them before using
them in driver instances so that different driver instances do not
influence each other.
This was observed on a board which has one PCIe and one SDIO mwifiex
adapter. It blew up in mwifiex_setup_ht_caps(). This was called with
the statically allocated struct which is modified in this function.
Cc: [email protected]
Fixes: d6bffe8bb520 ("mwifiex: support for creation of AP interface")
Signed-off-by: Sascha Hauer <[email protected]>
Reviewed-by: Francesco Dolcini <[email protected]>
Acked-by: Brian Norris <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://patch.msgid.link/20240809-mwifiex-duplicate-static-structs-v1-1-6837b903b1a4@pengutronix.de
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions