From 9448b3ab90e69c00fb160d3d00686e176e38ad8e Mon Sep 17 00:00:00 2001 From: Vevek Venkatesan Date: Tue, 28 May 2019 12:47:20 +0530 Subject: [PATCH] qcacmn: add more debug logs in htc stop Add more debug logs in HTC stop routine. Change-Id: Ic192da68e7c420281db3066616f7768bb7ef4c5c --- htc/htc.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/htc/htc.c b/htc/htc.c index baad6f129376..ff523584ad0b 100644 --- a/htc/htc.c +++ b/htc/htc.c @@ -811,6 +811,7 @@ void htc_stop(HTC_HANDLE HTCHandle) AR_DEBUG_PRINTF(ATH_DEBUG_TRC, ("+htc_stop\n")); + HTC_INFO("%s: endpoints cleanup\n", __func__); /* cleanup endpoints */ for (i = 0; i < ENDPOINT_MAX; i++) { pEndpoint = &target->endpoint[i]; @@ -829,6 +830,7 @@ void htc_stop(HTC_HANDLE HTCHandle) * buffer leak */ + HTC_INFO("%s: stopping hif layer\n", __func__); hif_stop(target->hif_dev); #ifdef RX_SG_SUPPORT @@ -844,11 +846,13 @@ void htc_stop(HTC_HANDLE HTCHandle) * by TARGET_STATUS_RESET and HTC packets will be left unfreed on * lookup queue. */ + HTC_INFO("%s: flush endpoints Tx lookup queue\n", __func__); for (i = 0; i < ENDPOINT_MAX; i++) { pEndpoint = &target->endpoint[i]; if (pEndpoint->service_id == WMI_CONTROL_SVC) htc_flush_endpoint_txlookupQ(target, i, false); } + HTC_INFO("%s: resetting endpoints state\n", __func__); reset_endpoint_states(target);