Explorar o código

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
Abhishek Singh %!s(int64=6) %!d(string=hai) anos
pai
achega
a337ac3159
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      wmi/src/wmi_unified_ocb_ut.c

+ 2 - 0
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;
 }