From 06dfff7c8da6be3bca61ac8b3db492daad2a06a1 Mon Sep 17 00:00:00 2001 From: Karthik Kantamneni Date: Thu, 14 Sep 2023 10:41:55 +0530 Subject: [PATCH] qcacmn: Avoid excessive logging in ath procfs read/write ops Currently logs are being flooded during ath procfs read/write operations. This excessive logging is causing wlan panic. Fix this by changing log level from hif_info to hif_debug. Since these logs printed are not required in normal use case scenario, will be helpful only during debug purpose changed log level to hif_debug. Change-Id: If8ad1a8bf5c427e483c675192dcbd9ce42854ece CRs-Fixed: 3615763 --- hif/src/ath_procfs.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hif/src/ath_procfs.c b/hif/src/ath_procfs.c index 6ce790f08a..750298ca98 100644 --- a/hif/src/ath_procfs.c +++ b/hif/src/ath_procfs.c @@ -499,8 +499,8 @@ static ssize_t ath_procfs_diag_read(struct file *file, char __user *buf, if (offset & 0x3) return -EINVAL; - hif_info("rd cnt %zu offset 0x%x op_type %d type %d pos %llx", - count, offset, op_type, memtype, *pos); + hif_debug("rd cnt %zu offset 0x%x op_type %d type %d pos %llx", + count, offset, op_type, memtype, *pos); switch (op_type) { case OP_TYPE_LEGACY: @@ -541,8 +541,8 @@ static ssize_t ath_procfs_diag_write(struct file *file, if (offset & 0x3) return -EINVAL; - hif_info("wr cnt %zu offset 0x%x op_type %d mem_type %d", - count, offset, op_type, memtype); + hif_debug("wr cnt %zu offset 0x%x op_type %d mem_type %d", + count, offset, op_type, memtype); switch (op_type) { case OP_TYPE_LEGACY: