b39ec00cf970218ecc34cb04fbaa95a3acfddc17
Currently, there might be a scenario where wlan host driver calls idle_shutdown and at the same time icnss driver receives shutdown notification for wpss. In this case Race condition might occur for is_ssr variable which is shared among icnss_wpss_notifier_nb() api and icnss_idle_shutdown() api. To resolve this race condition, set is_idle_shutdown atomic variable in icnss_idle_shutdown() api and check this variable before posting ICNSS_DRIVER_EVENT_UNREGISTER_DRIVER event. Change-Id: I34b0c2de9899aeeb77063ea7c3029c3eeaf50a05 CRs-Fixed: 4055232
Description
No description provided
Languages
C
98.9%
C++
0.7%
Makefile
0.3%
Starlark
0.1%