summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2016-08-16 13:10:13 +0100
committerKalle Valo <kvalo@codeaurora.org>2016-09-03 13:07:49 +0300
commitd393be3ed0bebb30a4666d7f5ed4486cd6b31716 (patch)
treea9f6f7c690f6610075bee444d7e0c06888dfe592
parent410280bac6224e066f4cf0b87db08f0418a135b6 (diff)
downloadop-kernel-dev-d393be3ed0bebb30a4666d7f5ed4486cd6b31716.zip
op-kernel-dev-d393be3ed0bebb30a4666d7f5ed4486cd6b31716.tar.gz
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>
-rw-r--r--drivers/net/wireless/marvell/mwifiex/util.c1
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 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);
OpenPOWER on IntegriCloud