mac80211_hwsim: fix RCU protected chanctx access
authorJohannes Berg <johannes.berg@intel.com>
Thu, 5 May 2022 21:04:21 +0000 (23:04 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 9 May 2022 12:00:07 +0000 (14:00 +0200)
commita59d55568d02bbbdf9c0cc15be9580180f855b4f
treec292268941c17f8c7331bac337fd30a7c2aeb843
parentc7e34c1e263f71b2dd78a12b6b7259a89b3a1f44
mac80211_hwsim: fix RCU protected chanctx access

We need to RCU protect the chanctx_conf access, so
do that.

Fixes: 585625c955b1 ("mac80211_hwsim: check TX and STA bandwidth")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Link: https://lore.kernel.org/r/20220505230421.fb8055c081a2.Ic6da3307c77a909bd61a0ea25dc2a4b08fe1b03f@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/mac80211_hwsim.c