Bläddra i källkod

qcacld-3.0: Fix incorrect layering in scan component

Replace ucfg api call with wlan api calls for internal components.

CRs-Fixed: 2980401

Change-Id: I286a4cc78b637ae1c32ac8e7c30ef182f06e0a44
Mohammed Ahmed 3 år sedan
förälder
incheckning
9f6f22ca98

+ 1 - 1
components/p2p/core/src/wlan_p2p_roc.c

@@ -192,7 +192,7 @@ static QDF_STATUS p2p_scan_abort(struct p2p_roc_context *roc_ctx)
 	qdf_mtrace(QDF_MODULE_ID_P2P, QDF_MODULE_ID_SCAN,
 		   req->cancel_req.req_type,
 		   req->vdev->vdev_objmgr.vdev_id, req->cancel_req.scan_id);
-	status = ucfg_scan_cancel(req);
+	status = wlan_scan_cancel(req);
 
 	p2p_debug("abort scan, scan req id:%d, scan id:%d, status:%d",
 		p2p_soc_obj->scan_req_id, roc_ctx->scan_id, status);

+ 1 - 1
core/mac/src/pe/lim/lim_process_message_queue.c

@@ -1540,7 +1540,7 @@ void lim_process_abort_scan_ind(struct mac_context *mac_ctx,
 	req->cancel_req.vdev_id = vdev_id;
 	req->cancel_req.req_type = WLAN_SCAN_CANCEL_SINGLE;
 
-	status = ucfg_scan_cancel(req);
+	status = wlan_scan_cancel(req);
 	if (QDF_IS_STATUS_ERROR(status))
 		pe_err("Cancel scan request failed");