diff options
author | 2020-03-10 11:13:55 +0100 | |
---|---|---|
committer | 2020-03-11 08:14:16 +0100 | |
commit | 046cc2effd1312a23b9e3d8363be7c68f6e91f3c (patch) | |
tree | 14a2b8c47b35cea02fea1d78f822ec192935924a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | staging: wfx: make warning about pending frame less scary (diff) | |
download | linux-dev-046cc2effd1312a23b9e3d8363be7c68f6e91f3c.tar.xz linux-dev-046cc2effd1312a23b9e3d8363be7c68f6e91f3c.zip |
staging: wfx: fix RCU usage in wfx_join_finalize()
Access to sta->ht_cap is protected by RCU. However,
hif_set_association_mode() may sleep, so it can't be called in RCU.
This patch fix this behavior by handling sta and its RCU directly from
function hif_set_association_mode().
Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
Fixes: d00149011066 ("staging: wfx: fix RCU usage")
Link: https://lore.kernel.org/r/20200310101356.182818-5-Jerome.Pouiller@silabs.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions