mwifiex: fix missing break on IEEE80211_STYPE_ACTION case
authorColin Ian King <colin.king@canonical.com>
Tue, 16 Aug 2016 12:10:13 +0000 (13:10 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 3 Sep 2016 10:07:49 +0000 (13:07 +0300)
The IEEE80211_STYPE_ACTION case is missing a break in the switch
statement, causing it to fall through to the default case that
reports a debug message about an unknown frame subtype. Fix this
by adding in the missing break statement.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/util.c

index 6681be0511c76919465e24f0e01980c21f2f4381..18fbb96a46e94f290dbf173e1e9db1ceaffc5487 100644 (file)
@@ -386,6 +386,7 @@ mwifiex_parse_mgmt_packet(struct mwifiex_private *priv, u8 *payload, u16 len,
                                    "unknown public action frame category %d\n",
                                    category);
                }
+               break;
        default:
                mwifiex_dbg(priv->adapter, INFO,
                    "unknown mgmt frame subtype %#x\n", stype);