Commit f67ffd61 authored by Gustavo A. R. Silva's avatar Gustavo A. R. Silva Committed by Greg Kroah-Hartman

staging: rtl8192e: mark expected switch fall-through

In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
Signed-off-by: default avatarGustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c476b2ec
...@@ -694,8 +694,7 @@ int rtllib_wx_set_mlme(struct rtllib_device *ieee, ...@@ -694,8 +694,7 @@ int rtllib_wx_set_mlme(struct rtllib_device *ieee,
switch (mlme->cmd) { switch (mlme->cmd) {
case IW_MLME_DEAUTH: case IW_MLME_DEAUTH:
deauth = true; deauth = true;
/* leave break out intentionly */ /* fall through */
case IW_MLME_DISASSOC: case IW_MLME_DISASSOC:
if (deauth) if (deauth)
netdev_info(ieee->dev, "disauth packet !\n"); netdev_info(ieee->dev, "disauth packet !\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment