Browse Source

qcacmn: Add mtrace logging for P2P module

We are transitioning to new logging infrastructure
by using existing mtrace functionality.

Add new logging for complete P2P module.

Change-Id: I34b1f3b0db9e9b5cfd4ae779cca14584e9b68841
CRs-Fixed: 2308565
Ashish Kumar Dhanotiya 6 years ago
parent
commit
5b8a454c45
1 changed files with 3 additions and 0 deletions
  1. 3 0
      umac/p2p/core/src/wlan_p2p_roc.c

+ 3 - 0
umac/p2p/core/src/wlan_p2p_roc.c

@@ -160,6 +160,9 @@ static QDF_STATUS p2p_scan_abort(struct p2p_roc_context *roc_ctx)
 	req->cancel_req.vdev_id = roc_ctx->vdev_id;
 	req->cancel_req.req_type = WLAN_SCAN_CANCEL_SINGLE;
 
+	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);
 
 	p2p_debug("abort scan, scan req id:%d, scan id:%d, status:%d",