linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH] mwifiex: reduce severity of debug messages for mgmt rx
  2015-05-14 14:27 [PATCH] mwifiex: reduce severity of debug messages for mgmt rx Avinash Patil
@ 2015-05-14 12:33 ` James Cameron
  0 siblings, 0 replies; 2+ messages in thread
From: James Cameron @ 2015-05-14 12:33 UTC (permalink / raw)
  To: Avinash Patil; +Cc: linux-wireless, akarwar, cluo, liuzy

On Thu, May 14, 2015 at 07:57:31PM +0530, Avinash Patil wrote:
> This would ensure dmesg logs are not spammed with "unknown mgmt frame
> subtype" messages.

"subtype"

> 
> Signed-off-by: Avinash Patil <patila@marvell.com>
> ---
>  drivers/net/wireless/mwifiex/util.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/net/wireless/mwifiex/util.c b/drivers/net/wireless/mwifiex/util.c
> index 3c0b3c1..fd8ef3c 100644
> --- a/drivers/net/wireless/mwifiex/util.c
> +++ b/drivers/net/wireless/mwifiex/util.c
> @@ -350,7 +350,7 @@ mwifiex_parse_mgmt_packet(struct mwifiex_private *priv, u8 *payload, u16 len,
>  		}
>  		break;
>  	default:
> -		mwifiex_dbg(priv->adapter, ERROR,
> +		mwifiex_dbg(priv->adapter, INFO,
>  			    "unknown mgmt frame subytpe %#x\n", stype);

"subytpe" != "subtype"

An opportunity there.  ;-)

-- 
James Cameron
http://quozl.linux.org.au/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH] mwifiex: reduce severity of debug messages for mgmt rx
@ 2015-05-14 14:27 Avinash Patil
  2015-05-14 12:33 ` James Cameron
  0 siblings, 1 reply; 2+ messages in thread
From: Avinash Patil @ 2015-05-14 14:27 UTC (permalink / raw)
  To: linux-wireless; +Cc: akarwar, cluo, liuzy, Avinash Patil

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

Signed-off-by: Avinash Patil <patila@marvell.com>
---
 drivers/net/wireless/mwifiex/util.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-05-14 12:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-14 14:27 [PATCH] mwifiex: reduce severity of debug messages for mgmt rx Avinash Patil
2015-05-14 12:33 ` James Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).