summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/intersil/prism54
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavo@embeddedor.com>2018-10-22 23:42:47 +0300
committerKalle Valo <kvalo@codeaurora.org>2018-11-06 19:59:37 +0300
commit3d238b9d5048886ca6c4dbbd1381c2ae81759a14 (patch)
treeac56c95e9abb8577472d31157c9cd8613810b609 /drivers/net/wireless/intersil/prism54
parentd22b8fadd08e95124e13860397d2071a6f6625bc (diff)
downloadlinux-3d238b9d5048886ca6c4dbbd1381c2ae81759a14.tar.xz
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.c1
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;