diff options
author | Gustavo A. R. Silva <garsilva@embeddedor.com> | 2017-10-12 11:16:17 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-10-18 15:44:39 +0200 |
commit | f67ffd615805166927e84b2b3438bde42bd57b62 (patch) | |
tree | f6855ed635aecb20b017426d21eb060e14222c45 /drivers/staging/rtl8192e | |
parent | c476b2ec7011fc392c3a35a736181c9a6154acb8 (diff) | |
download | linux-f67ffd615805166927e84b2b3438bde42bd57b62.tar.gz linux-f67ffd615805166927e84b2b3438bde42bd57b62.tar.bz2 linux-f67ffd615805166927e84b2b3438bde42bd57b62.zip |
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>
Diffstat (limited to 'drivers/staging/rtl8192e')
-rw-r--r-- | drivers/staging/rtl8192e/rtllib_wx.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/rtl8192e/rtllib_wx.c b/drivers/staging/rtl8192e/rtllib_wx.c index f7eba01b5d15..03fbff067fa4 100644 --- a/drivers/staging/rtl8192e/rtllib_wx.c +++ b/drivers/staging/rtl8192e/rtllib_wx.c @@ -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"); |