qcacmn: Remove legacy APIs to modify vdev state machine

This change Removes legacy APIs to modify vdev state machine and
add use new API to get vdev state.

Change-Id: I48aa3744dafc6d13a43a14e48de821c7dadf3a37
CRs-Fixed: 2314731
This commit is contained in:
Abhishek Singh
2018-09-05 17:22:58 +05:30
committed by nshrivas
parent fa613b4c33
commit d07214ea1a

View File

@@ -412,8 +412,10 @@ static QDF_STATUS fake_vdev_start_cmd_tlv(wmi_unified_t wmi_handle,
req->regdomain, req->he_ops);
wma_remove_vdev_req(wma, req->vdev_id,
WMA_TARGET_REQ_TYPE_VDEV_START);
#ifndef CONFIG_VDEV_SM
wma_vdev_set_mlme_state(wma, req->vdev_id,
WLAN_VDEV_S_RUN);
#endif
ucfg_ocb_config_channel(wma->pdev);
return QDF_STATUS_SUCCESS;
}