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:
@@ -499,7 +499,7 @@ 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",
|
||||
hif_debug("rd cnt %zu offset 0x%x op_type %d type %d pos %llx",
|
||||
count, offset, op_type, memtype, *pos);
|
||||
|
||||
switch (op_type) {
|
||||
@@ -541,7 +541,7 @@ 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",
|
||||
hif_debug("wr cnt %zu offset 0x%x op_type %d mem_type %d",
|
||||
count, offset, op_type, memtype);
|
||||
|
||||
switch (op_type) {
|
||||
|
Reference in New Issue
Block a user