summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorVishal Gupta <vishal.gupta_1@philips.com>2026-10-19 18:13:57 +0200
committerJeff Chen <jeff.chen_1@nxp.com>2026-11-03 11:05:53 +0800
commitd9dca24659face4c97e466bfe11a44dedc2169e9 (patch)
treea26a4a949a83723db2076577b3497587bf21c5b6 /tools/perf/scripts/python/export-to-postgresql.py
parentc3e67bd82b9b9b1a5118f09a429ccefe2aab0741 (diff)
wifi: nxpwifi: synchronize scan cancellation state
Before the change, nxpwifi_cancel_scan() checked scan_processing outside the lock, then acquired nxpwifi_cmd_lock only to clear it. That left a gap where another path could change the scan state between the check and the clear. Read and update scan_processing variable under nxpwifi_cmd_lock so cancellation cannot race with scan state changes and skip scan completion when no scan was active. Signed-off-by: Vishal Gupta <vishal.gupta_1@philips.com> Reviewed-by: Jeff Chen <jeff.chen_1@nxp.com> Signed-off-by: Jeff Chen <jeff.chen_1@nxp.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions