Explorar el Código

qcacmn: Reduce log level to avoid watchdog

Reduce log level to info/debug to avoid watchdog bark.

Change-Id: I14a77b9017ada3bc2f10fc78c69cb31b22452052
CRs-Fixed: 2026821
Himanshu Agarwal hace 8 años
padre
commit
38cea4afc4
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. 1 1
      hif/src/ce/ce_main.c
  2. 1 1
      qdf/linux/src/qdf_nbuf.c

+ 1 - 1
hif/src/ce/ce_main.c

@@ -1758,7 +1758,7 @@ static void hif_post_recv_buffers_failure(struct HIF_CE_pipe_info *pipe_info,
 	qdf_spin_lock_bh(&pipe_info->recv_bufs_needed_lock);
 	error_cnt_tmp = ++(*error_cnt);
 	qdf_spin_unlock_bh(&pipe_info->recv_bufs_needed_lock);
-	HIF_ERROR("%s: pipe_num %d, needed %d, err_cnt = %u, fail_type = %s",
+	HIF_DBG("%s: pipe_num %d, needed %d, err_cnt = %u, fail_type = %s",
 		  __func__, pipe_info->pipe_num, bufs_needed_tmp, error_cnt_tmp,
 		  failure_type_string);
 	hif_record_ce_desc_event(scn, ce_id, failure_type,

+ 1 - 1
qdf/linux/src/qdf_nbuf.c

@@ -194,7 +194,7 @@ struct sk_buff *__qdf_nbuf_alloc(qdf_device_t osdev, size_t size, int reserve,
 	skb = dev_alloc_skb(size);
 
 	if (!skb) {
-		pr_err("ERROR:NBUF alloc failed\n");
+		pr_info("ERROR:NBUF alloc failed\n");
 		return NULL;
 	}
 	memset(skb->cb, 0x0, sizeof(skb->cb));