Jianmin Zhu 550f13bb10 qcacld-3.0: Fix race condition issue of csa and interface destroy
In SAP+NDI DBS case, SAP channel is changed for channel avoid event,
policy_mgr_update_indoor_concurrency is called, and country_change_work is
scheduled, but blocked for channel switch is already in progress,
both SAP and NDI adapter hold ref NET_DEV_HOLD_COUNTRY_CHANGE_UPDATE_SAP.
At same time, NDI interface is destroyed, assert when found ref leaked.

To fix it, for 2nd CSA req (found CSA in progress already), don't
block, just log and return.
When channel change finished, policy_mgr_check_sap_go_force_scc is called
to check whether new channel change required.

Change-Id: I0bb3b35265f77d949b3c2916ee1ba95a8239c61c
CRs-Fixed: 3396079
2023-02-07 00:53:35 -08:00
2021-12-22 23:01:44 -08:00
2023-01-27 16:09:29 -08:00

This is CNSS WLAN Host Driver for products starting from iHelium
Beschreibung
Keine Beschreibung vorhanden
Readme 226 MiB
Sprachen
C 98.7%
C++ 0.9%
Makefile 0.3%
Starlark 0.1%