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
Cette révision appartient à :
@@ -499,8 +499,8 @@ static ssize_t ath_procfs_diag_read(struct file *file, char __user *buf,
|
|||||||
if (offset & 0x3)
|
if (offset & 0x3)
|
||||||
return -EINVAL;
|
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);
|
count, offset, op_type, memtype, *pos);
|
||||||
|
|
||||||
switch (op_type) {
|
switch (op_type) {
|
||||||
case OP_TYPE_LEGACY:
|
case OP_TYPE_LEGACY:
|
||||||
@@ -541,8 +541,8 @@ static ssize_t ath_procfs_diag_write(struct file *file,
|
|||||||
if (offset & 0x3)
|
if (offset & 0x3)
|
||||||
return -EINVAL;
|
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);
|
count, offset, op_type, memtype);
|
||||||
|
|
||||||
switch (op_type) {
|
switch (op_type) {
|
||||||
case OP_TYPE_LEGACY:
|
case OP_TYPE_LEGACY:
|
||||||
|
Référencer dans un nouveau ticket
Bloquer un utilisateur