qcacld-3.0: Fix vdev destroy during ssr reinit

During hdd wlan reinit VDEV delete command is not sent to firmware
since cds_driver_recovery is True and it is set to False at later stage.

To fix this, remove recovery check in wma_vdev_detach to send WMI command
to FW as WMI is active during reinit phase.

Change-Id: I94b7437edbf0c5bccbc469ce01940b14b46258fb
CRs-Fixed: 2333475
This commit is contained in:
Karthik Kantamneni 2018-10-15 19:38:17 +05:30 • committed by nshrivas
commit 505b15b861

View file

@ -818,7 +818,7 @@ QDF_STATUS wma_vdev_detach(tp_wma_handle wma_handle,
* Cleanup the ObjMgr Peers for the current vdev and detach the
* CDP Vdev.
*/
if (cds_is_driver_recovering() || !cds_is_target_ready()) {
if (!cds_is_target_ready()) {
wma_force_objmgr_vdev_peer_cleanup(wma_handle, vdev_id);
wma_release_vdev_ref(wma_handle, vdev_id);
wma_cdp_vdev_detach(soc, wma_handle, vdev_id);