From d07214ea1ada1b444c12a071f6f79b58232fbb64 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_unified_ocb_ut.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wmi_unified_ocb_ut.c b/wmi_unified_ocb_ut.c index 0cadf117c7..76dabe3a7a 100644 --- a/wmi_unified_ocb_ut.c +++ b/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; }