2015-05-20 05:36:52

by Avinash Patil

[permalink] [raw]
Subject: [PATCH v2] mwifiex: reduce severity of debug messages for mgmt rx

This would ensure dmesg logs are not spammed with "unknown mgmt frame
subtype" messages.

Reviewed-by: James Cameron <[email protected]>
Signed-off-by: Avinash Patil <[email protected]>
---
drivers/net/wireless/mwifiex/util.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/wireless/mwifiex/util.c b/drivers/net/wireless/mwifiex/util.c
index 3c0b3c1..370323a 100644
--- a/drivers/net/wireless/mwifiex/util.c
+++ b/drivers/net/wireless/mwifiex/util.c
@@ -350,8 +350,8 @@ mwifiex_parse_mgmt_packet(struct mwifiex_private *priv, u8 *payload, u16 len,
}
break;
default:
- mwifiex_dbg(priv->adapter, ERROR,
- "unknown mgmt frame subytpe %#x\n", stype);
+ mwifiex_dbg(priv->adapter, INFO,
+ "unknown mgmt frame subtype %#x\n", stype);
}

return 0;
--
1.8.1.4



2015-05-26 14:12:49

by Kalle Valo

[permalink] [raw]
Subject: Re: [v2] mwifiex: reduce severity of debug messages for mgmt rx


> This would ensure dmesg logs are not spammed with "unknown mgmt frame
> subtype" messages.
>
> Reviewed-by: James Cameron <[email protected]>
> Signed-off-by: Avinash Patil <[email protected]>

Thanks, applied to wireless-drivers-next.git.

Kalle Valo