Jelajahi Sumber

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
Sandhya Mahadevan 6 tahun lalu
induk
melakukan
e650d1d287
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      qdf/linux/src/qdf_nbuf.c

+ 2 - 2
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;
 	}