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
This commit is contained in:
Karthik Kantamneni
2023-09-14 10:41:55 +05:30
parent f8d554dc22
commit 06dfff7c8d

View File

@@ -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: