mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-09 23:00:21 +00:00
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: Gustavo A. R. Silva <garsilva@embeddedor.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
c476b2ec70
commit
f67ffd6158
@ -694,8 +694,7 @@ int rtllib_wx_set_mlme(struct rtllib_device *ieee,
|
||||
switch (mlme->cmd) {
|
||||
case IW_MLME_DEAUTH:
|
||||
deauth = true;
|
||||
/* leave break out intentionly */
|
||||
|
||||
/* fall through */
|
||||
case IW_MLME_DISASSOC:
|
||||
if (deauth)
|
||||
netdev_info(ieee->dev, "disauth packet !\n");
|
||||
|
Loading…
x
Reference in New Issue
Block a user