From bcfddfd9686b36518a18e66f0f5f95e0f255cb3c Mon Sep 17 00:00:00 2001 From: Rajeev Kumar Date: Thu, 7 Sep 2017 14:36:55 -0700 Subject: [PATCH] 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 --- core/cds/src/cds_sched.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/cds/src/cds_sched.c b/core/cds/src/cds_sched.c index 3edd3619ad..2c20ba21c7 100644 --- a/core/cds/src/cds_sched.c +++ b/core/cds/src/cds_sched.c @@ -1168,7 +1168,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:",