From a337ac31594494499f1e8fc4873ab115d0985b1a Mon Sep 17 00:00:00 2001 From: Abhishek Singh Date: Wed, 5 Sep 2018 17:22:58 +0530 Subject: [PATCH] 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 --- wmi/src/wmi_unified_ocb_ut.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wmi/src/wmi_unified_ocb_ut.c b/wmi/src/wmi_unified_ocb_ut.c index 0cadf117c790..76dabe3a7a7c 100644 --- a/wmi/src/wmi_unified_ocb_ut.c +++ b/wmi/src/wmi_unified_ocb_ut.c @@ -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; }