From a6c1ffdcafc5efdf82931813c83d0245c200ee0c Mon Sep 17 00:00:00 2001 From: Ashish Kumar Dhanotiya Date: Wed, 11 Jul 2018 20:46:06 +0530 Subject: [PATCH] qcacmn: Add mtrace logging for scan request We are transitioning to new logging infrastructure by using existing mtrace functionality. Add new logging for complete scan request and response path. Change-Id: Iac644a78ef521721d33ce7568be56b47c55fed6b CRs-Fixed: 2308272 --- core/src/wlan_p2p_roc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/src/wlan_p2p_roc.c b/core/src/wlan_p2p_roc.c index db2d5714e3c2..c4ca27ef8d7a 100644 --- a/core/src/wlan_p2p_roc.c +++ b/core/src/wlan_p2p_roc.c @@ -906,6 +906,9 @@ void p2p_scan_event_cb(struct wlan_objmgr_vdev *vdev, p2p_err("Failed to find valid P2P roc context"); return; } + + qdf_mtrace(QDF_MODULE_ID_SCAN, QDF_MODULE_ID_P2P, event->type, + event->vdev_id, event->scan_id); switch (event->type) { case SCAN_EVENT_TYPE_STARTED: p2p_process_scan_start_evt(curr_roc_ctx);