diff options
author | Colin Ian King <colin.king@canonical.com> | 2016-08-16 14:10:13 +0200 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2016-09-03 12:07:49 +0200 |
commit | d393be3ed0bebb30a4666d7f5ed4486cd6b31716 (patch) | |
tree | a9f6f7c690f6610075bee444d7e0c06888dfe592 /drivers/net/wireless/marvell/mwifiex/util.c | |
parent | rt2x00usb: Fix error return code (diff) | |
download | linux-d393be3ed0bebb30a4666d7f5ed4486cd6b31716.tar.xz linux-d393be3ed0bebb30a4666d7f5ed4486cd6b31716.zip |
mwifiex: fix missing break on IEEE80211_STYPE_ACTION case
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>
Diffstat (limited to 'drivers/net/wireless/marvell/mwifiex/util.c')
-rw-r--r-- | drivers/net/wireless/marvell/mwifiex/util.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/marvell/mwifiex/util.c b/drivers/net/wireless/marvell/mwifiex/util.c index 6681be0511c7..18fbb96a46e9 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); |