summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRajeev Kumar <rajekuma@codeaurora.org>2017-09-07 14:36:55 -0700
committersnandini <snandini@codeaurora.org>2017-09-14 11:24:39 -0700
commit141e340b514ffd8779f7f172a93044aad7d31cb4 (patch)
tree0a3557d3772838b693c0c89971ee761c3c7aa702
parentf58a2e51720b57a46faae86258a880da8d45a058 (diff)
qcacld-3.0: Log driver entry point in every alternate attempt
Driver unload and SSR waits for all driver entry point to exit. Log driver active entry point in every alternate attempt such that debugability is improved. Change-Id: I36558b473401b86f1fafcdc0346e4f42f264c203 CRs-Fixed: 2106140
-rw-r--r--core/cds/src/cds_sched.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/cds/src/cds_sched.c b/core/cds/src/cds_sched.c
index 3f9cbeb6c44b..89a5588d49ee 100644
--- a/core/cds/src/cds_sched.c
+++ b/core/cds/src/cds_sched.c
@@ -1712,7 +1712,7 @@ bool cds_wait_for_external_threads_completion(const char *caller_func)
"%s: Waiting for %d active entry points to exit",
__func__, r);
msleep(SSR_WAIT_SLEEP_TIME);
- if (count == (MAX_SSR_WAIT_ITERATIONS/2)) {
+ if (count & 0x1) {
QDF_TRACE(QDF_MODULE_ID_QDF,
QDF_TRACE_LEVEL_ERROR,
"%s: in middle of waiting for active entry points:",