summaryrefslogtreecommitdiff
path: root/sys/dev/ic/rtw.c
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2009-08-16 18:05:52 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2009-08-16 18:05:52 +0000
commit784d4d2ae92bd8dfb15fa16dfa0edd116319db6b (patch)
tree1454ad6645b15d5f8f40d5c8e330daf5d87f6816 /sys/dev/ic/rtw.c
parent2a4e5b6e95b086b0892a8d9bb057e77ba5a7d2db (diff)
tweak a switch statement to appease lint
Diffstat (limited to 'sys/dev/ic/rtw.c')
-rw-r--r--sys/dev/ic/rtw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/rtw.c b/sys/dev/ic/rtw.c
index bbd26d5ec4d..e48968b8fa0 100644
--- a/sys/dev/ic/rtw.c
+++ b/sys/dev/ic/rtw.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtw.c,v 1.75 2009/08/10 20:29:54 deraadt Exp $ */
+/* $OpenBSD: rtw.c,v 1.76 2009/08/16 18:05:51 jsg Exp $ */
/* $NetBSD: rtw.c,v 1.29 2004/12/27 19:49:16 dyoung Exp $ */
/*-
@@ -4621,12 +4621,12 @@ rtw_grf5101_pwrstate(struct rtw_softc *sc, enum rtw_pwrstate power)
{
switch (power) {
case RTW_OFF:
+ /* FALLTHROUGH */
case RTW_SLEEP:
rtw_rf_macwrite(sc, 0x07, 0x0000);
rtw_rf_macwrite(sc, 0x1f, 0x0045);
rtw_rf_macwrite(sc, 0x1f, 0x0005);
rtw_rf_macwrite(sc, 0x00, 0x08e4);
- default:
break;
case RTW_ON:
rtw_rf_macwrite(sc, 0x1f, 0x0001);