Browse Source

qcacmn: Let qdf_lock_stats_cookie_create failure be dbg level

qdf_lock_stats_cookie_create is a debug feature.  Its failure should be dbg
level since it fails gracefully.  This avoids watch dogs in cases where
all the cookies have been leaked.

Change-Id: I99c751e6153964d00f2fc0b7dbf174a0e50e7fb9
CRs-Fixed: 2045394
Houston Hoffman 8 years ago
parent
commit
4a4623c7c7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      qdf/linux/src/qdf_lock.c

+ 1 - 1
qdf/linux/src/qdf_lock.c

@@ -835,7 +835,7 @@ void qdf_lock_stats_cookie_create(struct lock_stats *stats,
 		qdf_atomic_inc(&lock_cookie_get_failures);
 		count = qdf_atomic_inc_return(&lock_cookie_untracked_num);
 		stats->cookie = (void *) DUMMY_LOCK_COOKIE;
-		QDF_TRACE(QDF_MODULE_ID_QDF, QDF_TRACE_LEVEL_ERROR,
+		QDF_TRACE(QDF_MODULE_ID_QDF, QDF_TRACE_LEVEL_DEBUG,
 			  "%s: cookie allocation failure, using dummy (%s:%d) count %d",
 			  __func__, func, line, count);
 		return;