diff options
author | Christian Marangi <ansuelsmth@gmail.com> | 2023-02-10 01:26:22 +0300 |
---|---|---|
committer | Kalle Valo <quic_kvalo@quicinc.com> | 2023-02-22 13:08:46 +0300 |
commit | 60b7d62ba8cdbd073997bff0f1cdae8d844002c0 (patch) | |
tree | 3d6f8664aa04aa8949c17be348794dfe2ada609c /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 7c4c511f74ba65a18f0beeb9b2fc0e34f28ee79d (diff) | |
download | linux-60b7d62ba8cdbd073997bff0f1cdae8d844002c0.tar.xz |
wifi: ath11k: fix SAC bug on peer addition with sta band migration
Fix sleep in atomic context warning detected by Smatch static checker
analyzer.
Following the locking pattern for peer_rhash_add lock tbl_mtx_lock mutex
always even if sta is not transitioning to another band.
This is peer_add function and a more secure locking should not cause
performance regression.
Tested-on: IPQ8074 hw2.0 AHB WLAN.HK.2.5.0.1-01208-QCAHKSWPL_SILICONZ-1
Fixes: d673cb6fe6c0 ("wifi: ath11k: fix peer addition/deletion error on sta band migration")
Reported-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20230209222622.1751-1-ansuelsmth@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions