diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-10-22 22:42:47 +0200 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2018-11-06 18:59:37 +0200 |
commit | 3d238b9d5048886ca6c4dbbd1381c2ae81759a14 (patch) | |
tree | ac56c95e9abb8577472d31157c9cd8613810b609 /drivers/net/wireless/intersil/prism54 | |
parent | d22b8fadd08e95124e13860397d2071a6f6625bc (diff) | |
download | linux-3d238b9d5048886ca6c4dbbd1381c2ae81759a14.tar.gz linux-3d238b9d5048886ca6c4dbbd1381c2ae81759a14.tar.bz2 linux-3d238b9d5048886ca6c4dbbd1381c2ae81759a14.zip |
prism54: isl_ioctl: 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 <gustavo@embeddedor.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/intersil/prism54')
-rw-r--r-- | drivers/net/wireless/intersil/prism54/isl_ioctl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/intersil/prism54/isl_ioctl.c b/drivers/net/wireless/intersil/prism54/isl_ioctl.c index 334717b0a2be..3ccf2a4b548c 100644 --- a/drivers/net/wireless/intersil/prism54/isl_ioctl.c +++ b/drivers/net/wireless/intersil/prism54/isl_ioctl.c @@ -1691,6 +1691,7 @@ static int prism54_get_encodeext(struct net_device *ndev, case DOT11_AUTH_BOTH: case DOT11_AUTH_SK: wrqu->encoding.flags |= IW_ENCODE_RESTRICTED; + /* fall through */ case DOT11_AUTH_OS: default: wrqu->encoding.flags |= IW_ENCODE_OPEN; |