Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7cbbe159 authored by Gustavo A. R. Silva's avatar Gustavo A. R. Silva Committed by Kalle Valo
Browse files

zd1201: 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 89e54fa4
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -969,6 +969,7 @@ static int zd1201_set_mode(struct net_device *dev,
			 */
			zd1201_join(zd, "\0-*#\0", 5);
			/* Put port in pIBSS */
			/* Fall through */
		case 8: /* No pseudo-IBSS in wireless extensions (yet) */
			porttype = ZD1201_PORTTYPE_PSEUDOIBSS;
			break;