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
This commit is contained in:
Sandhya Mahadevan
2018-10-04 02:49:39 +05:30
committed by nshrivas
parent aaa97751a6
commit e650d1d287

View File

@@ -375,8 +375,8 @@ realloc:
skb = pld_nbuf_pre_alloc(size); skb = pld_nbuf_pre_alloc(size);
if (!skb) { if (!skb) {
qdf_nofl_err("NBUF alloc failed %zuB @ %s:%d", qdf_rl_nofl_err("NBUF alloc failed %zuB @ %s:%d",
size, func, line); size, func, line);
return NULL; return NULL;
} }