diff options
author | Damien Bergamini <damien@cvs.openbsd.org> | 2010-02-07 12:12:12 +0000 |
---|---|---|
committer | Damien Bergamini <damien@cvs.openbsd.org> | 2010-02-07 12:12:12 +0000 |
commit | 6911a153bc00e5fe8b5c4020f10a7977ea0a9610 (patch) | |
tree | 36d907a0c6a8f1b17951029f06db18ca7808a16e /sys/dev/usb | |
parent | fe024133ec42f5c2ffe59bf85900edaf11ffcd1f (diff) |
fix my 1.44->1.45 commit
Diffstat (limited to 'sys/dev/usb')
-rw-r--r-- | sys/dev/usb/if_run.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/usb/if_run.c b/sys/dev/usb/if_run.c index 0f04f7421ed..b332e7eef74 100644 --- a/sys/dev/usb/if_run.c +++ b/sys/dev/usb/if_run.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_run.c,v 1.48 2010/02/07 11:55:52 damien Exp $ */ +/* $OpenBSD: if_run.c,v 1.49 2010/02/07 12:12:11 damien Exp $ */ /*- * Copyright (c) 2008-2010 Damien Bergamini <damien.bergamini@free.fr> @@ -2909,15 +2909,15 @@ run_rt3070_rf_init(struct run_softc *sc) /* initialize RF registers to default value */ if (sc->mac_ver == 0x3572) { - for (i = 0; i < nitems(rt3070_def_rf); i++) { - run_rt3070_rf_write(sc, rt3070_def_rf[i].reg, - rt3070_def_rf[i].val); - } - } else { for (i = 0; i < nitems(rt3572_def_rf); i++) { run_rt3070_rf_write(sc, rt3572_def_rf[i].reg, rt3572_def_rf[i].val); } + } else { + for (i = 0; i < nitems(rt3070_def_rf); i++) { + run_rt3070_rf_write(sc, rt3070_def_rf[i].reg, + rt3070_def_rf[i].val); + } } if (sc->mac_ver == 0x3572) { run_rt3070_rf_read(sc, 6, &rf); |