From e650d1d287531530aeeb6bf45c8f2d10452293fe Mon Sep 17 00:00:00 2001 From: Sandhya Mahadevan Date: Thu, 4 Oct 2018 02:49:39 +0530 Subject: [PATCH] qcacmn: Suppress NBUF alloc fail prints NBUF alloc fail prints are flooding the console, which is not allowing watchdog resetting to occur ratelimit is added to reduce the print statements flooding the console. Change-Id: Ib6531070c8b80d64ffea62209912e5166e0414c1 --- qdf/linux/src/qdf_nbuf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qdf/linux/src/qdf_nbuf.c b/qdf/linux/src/qdf_nbuf.c index 3bd4692213..993cb95669 100644 --- a/qdf/linux/src/qdf_nbuf.c +++ b/qdf/linux/src/qdf_nbuf.c @@ -375,8 +375,8 @@ realloc: skb = pld_nbuf_pre_alloc(size); if (!skb) { - qdf_nofl_err("NBUF alloc failed %zuB @ %s:%d", - size, func, line); + qdf_rl_nofl_err("NBUF alloc failed %zuB @ %s:%d", + size, func, line); return NULL; }