549f5cb43879c37ea0b93f08f9aef071a385a914

While pre cac is in progress and if the SAP is stopped from UI, It may lead to dead-lock due to rtnl lock. This is because, stopping SAP will trigger the stop_ap first and then hostapd_stop. Stop_ap will schedule a work to handle pre_cac failure (Thread1). hostapd_stop will be triggered in parallel (Thread2). This will result in a below dead-lock scenario. Thread1: Waiting to acquire rtnl_lock to unregister pre_cac adapter. Thread2: Acquired the rtnl_lock and waiting for Thread1 to complete To resolve this dead-lock, unregister pre_cac_adapter during hostapd_stop without requesting for rtnl_lock. Change-Id: I222df9ee0d75b16f79c28b7cdd86369c340a15c2 CRs-Fixed: 2832256
This is CNSS WLAN Host Driver for products starting from iHelium
説明
言語
C
98.7%
C++
0.9%
Makefile
0.3%
Starlark
0.1%