mwifiex: reduce severity of debug messages for mgmt rx
authorAvinash Patil <patila@marvell.com>
Wed, 20 May 2015 11:06:06 +0000 (16:36 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 26 May 2015 11:08:00 +0000 (14:08 +0300)
This would ensure dmesg logs are not spammed with "unknown mgmt frame
subtype" messages.

Reviewed-by: James Cameron <quozl@laptop.org>
Signed-off-by: Avinash Patil <patila@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/mwifiex/util.c

index 3c0b3c1..370323a 100644 (file)
@@ -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;