0d8db0609ec927962b540be499f7b0f1973dd9fe

Host driver sends RSO stop request to firmware as part of disconnect and waits for RSO stop response. It pauses the disconnection and resumes once RSO stop response is received from the firmware. But cm_lock is not taken when disconnection is resumed from RSO stop response path. This causes synchronization issues with north bound thread which issued the disconnection. Acquire cm_lock by using cm_sm_deliver_event() API to avoid this issue. Disconnect initiator thread and scheduler thread are synchronized with this change. So, no need to set the RSO state to STOPPED before sending RSO stop command to firmware. So the change: I4d43508bdee2b33caba28579939fffdebfab121d can be reverted. Change-Id: Id29cd992ecd1bd75cb1b32eebb9e46ca5dcc728d CRs-Fixed: 3285154
This is CNSS WLAN Host Driver for products starting from iHelium
Leírás
Languages
C
98.7%
C++
0.9%
Makefile
0.3%
Starlark
0.1%