diff options
author | Marcus Glocker <mglocker@cvs.openbsd.org> | 2006-12-02 16:43:28 +0000 |
---|---|---|
committer | Marcus Glocker <mglocker@cvs.openbsd.org> | 2006-12-02 16:43:28 +0000 |
commit | 51907b121b9a8c36e05eadfcccd0c90e1068178a (patch) | |
tree | 3f3528b8ee80ffe30c2baa04f2729760ca10d270 /sys/dev | |
parent | cc6f15397de00ac4c73efcf550971680b9dabfff (diff) |
Add a "break" which makes AL7230B initialize now. Still doesn't work
afterwards, but ...
Spotted by claudio@, ok deraadt@ jsg@
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/usb/if_zyd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/usb/if_zyd.c b/sys/dev/usb/if_zyd.c index 87c71b27897..f1d529613fa 100644 --- a/sys/dev/usb/if_zyd.c +++ b/sys/dev/usb/if_zyd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_zyd.c,v 1.45 2006/11/30 19:28:07 damien Exp $ */ +/* $OpenBSD: if_zyd.c,v 1.46 2006/12/02 16:43:27 mglocker Exp $ */ /*- * Copyright (c) 2006 by Damien Bergamini <damien.bergamini@free.fr> @@ -1422,6 +1422,7 @@ zyd_rf_attach(struct zyd_softc *sc, uint8_t type) rf->switch_radio = zyd_al7230B_switch_radio; rf->set_channel = zyd_al7230B_set_channel; rf->width = 24; /* 24-bit RF values */ + break; case ZYD_RF_AL2210: rf->init = zyd_al2210_init; rf->switch_radio = zyd_al2210_switch_radio; |