diff mbox

mwifiex: reduce severity of debug messages for mgmt rx

Message ID 1431613651-9049-1-git-send-email-patila@marvell.com (mailing list archive)
State Changes Requested
Delegated to: Kalle Valo
Headers show

Commit Message

Avinash Patil May 14, 2015, 2:27 p.m. UTC
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(-)

Comments

James Cameron May 14, 2015, 12:33 p.m. UTC | #1
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.  ;-)
diff mbox

Patch

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);
 	}