瀏覽代碼

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 年之前
父節點
當前提交
e650d1d287
共有 1 個文件被更改,包括 2 次插入2 次删除
  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;
 	}