diff options
| author | Will Huang <wilhuang@codeaurora.org> | 2018-08-13 17:25:02 +0800 |
|---|---|---|
| committer | nshrivas <nshrivas@codeaurora.org> | 2018-10-08 15:26:54 -0700 |
| commit | cc949404c251bcf0020e23f38c9174b82dc1e218 (patch) | |
| tree | 5e3f97f213a123fbf2f8886c3a0afcf5c6db7858 /scripts/gdb/linux/tasks.py | |
| parent | 001fdd10be5c3e563573e2821cf46e42ea56efd0 (diff) | |
qcacld-3.0: Fix ACS delayed worker running after adapter stopped
While ACS delayed worker scheduled and is running the function
wlan_hdd_cfg80211_start_acs(), ACS_PENDING has already been cleared by
wlan_hdd_cfg80211_start_pending_acs() before it, so the later coming
stop sap event can't cancel the running delayed worker and free the
sap context which need access by delayed worker.
Fix by clear ACS_PENDING after wlan_hdd_cfg80211_start_acs(), and move
cancel ACS delayed worker before cancel any scan, it can cancel ACS
scan invoke by delayed worker and avoid race condition.
CRs-Fixed: 2289364
Change-Id: Ibd771fc199a0778ac1d8f1f04ba22b49014437de
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions
