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 3c0b3c1cf2590ca47cc98587c1053d2204df9c4e..370323a47ecb99d3c246b94fc86e0e3eb0f8ffde 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;