Message ID | 1471349413-21893-1-git-send-email-colin.king@canonical.com (mailing list archive) |
---|---|
State | Accepted |
Commit | d393be3ed0bebb30a4666d7f5ed4486cd6b31716 |
Delegated to: | Kalle Valo |
Headers | show |
Colin Ian King <colin.king@canonical.com> wrote: > From: Colin Ian King <colin.king@canonical.com> > > 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> Thanks, 1 patch applied to wireless-drivers-next.git: d393be3ed0be mwifiex: fix missing break on IEEE80211_STYPE_ACTION case
diff --git a/drivers/net/wireless/marvell/mwifiex/util.c b/drivers/net/wireless/marvell/mwifiex/util.c index 6681be0..18fbb96 100644 --- a/drivers/net/wireless/marvell/mwifiex/util.c +++ b/drivers/net/wireless/marvell/mwifiex/util.c @@ -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);