Commit 3d238b9d authored by Gustavo A. R. Silva's avatar Gustavo A. R. Silva Committed by Kalle Valo

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: default avatarGustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent d22b8fad
...@@ -1691,6 +1691,7 @@ static int prism54_get_encodeext(struct net_device *ndev, ...@@ -1691,6 +1691,7 @@ static int prism54_get_encodeext(struct net_device *ndev,
case DOT11_AUTH_BOTH: case DOT11_AUTH_BOTH:
case DOT11_AUTH_SK: case DOT11_AUTH_SK:
wrqu->encoding.flags |= IW_ENCODE_RESTRICTED; wrqu->encoding.flags |= IW_ENCODE_RESTRICTED;
/* fall through */
case DOT11_AUTH_OS: case DOT11_AUTH_OS:
default: default:
wrqu->encoding.flags |= IW_ENCODE_OPEN; wrqu->encoding.flags |= IW_ENCODE_OPEN;
......
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