f445a4badf209c23115ba03ec9037cb615e2e01d

When wma_create_peer is called, driver checks for cds_is_target_ready and the macro CDS_DRIVER_STATE_FW_READY is unset during the wlan_hdd_pld_uevent. This results in race condition where the wma_peer_create fails due to cds_is_target_ready() failure and wma_vdev_delete is sent from wma_vdev_attach. In wmi_stopinprogress is set when firmware is down. But this is set only after a small delay and the vdev commands reach the fw, which results in a race condition. Remove the cds_is_target_ready() call from wma_create_peer. Place the call to wma_wmi_stop() to set the wmi_stopinprogress flag immediately after the wlan_hdd_pld_uevent is received. Change-Id: Iea53931771afd93ffaeabf704bbaffcf2460284f CRs-Fixed: 2320538
This is CNSS WLAN Host Driver for products starting from iHelium
Beschreibung
Sprachen
C
98.7%
C++
0.9%
Makefile
0.3%
Starlark
0.1%