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
This commit is contained in:
Rajeev Kumar
2017-09-07 14:36:55 -07:00
committed by Nandini Suresh
parent 5bb76705c6
commit bcfddfd968

View File

@@ -1168,7 +1168,7 @@ bool cds_wait_for_external_threads_completion(const char *caller_func)
"%s: Waiting for %d active entry points to exit", "%s: Waiting for %d active entry points to exit",
__func__, r); __func__, r);
msleep(SSR_WAIT_SLEEP_TIME); msleep(SSR_WAIT_SLEEP_TIME);
if (count == (MAX_SSR_WAIT_ITERATIONS/2)) { if (count & 0x1) {
QDF_TRACE(QDF_MODULE_ID_QDF, QDF_TRACE(QDF_MODULE_ID_QDF,
QDF_TRACE_LEVEL_ERROR, QDF_TRACE_LEVEL_ERROR,
"%s: in middle of waiting for active entry points:", "%s: in middle of waiting for active entry points:",