087a95839540f806d90c275c04dc0dacb90320da

Currently the adapter features update work is created only for the STA types of interfaces, since this feature is only used for STA mode. But this can cause an issue when a SAP interface is changed to STA runtime, since the workqueue will not be initialized (since create adapter was of SAP type) but it will be attempted to be destroyed (since the adapter is of STA type) during the cleanup of adapter. The creation/destruction of this workqueue cannot be done in the start/stop adapter, since the rtnl lock will be held during this operation and the cancelling of the adapter features workqueue can cause it to wait on rtnl lock, leading to a possible scenario of a deadlock. Hence as a mitigation for this issue, we create the adapter features update workqueue for all the interfaces and clean it up for all the interfaces as well. Change-Id: I598480e9f248f50e46764f7f32b876a8efaeee8d CRs-Fixed: 2811934
This is CNSS WLAN Host Driver for products starting from iHelium
설명
Languages
C
98.7%
C++
0.9%
Makefile
0.3%
Starlark
0.1%