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
This commit is contained in:
Houston Hoffman 2017-05-10 12:36:55 -07:00 • committed by snandini
commit 4a4623c7c7

View file

@ -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;