summaryrefslogtreecommitdiff
path: root/sys/dev/usb/udcf.c
diff options
context:
space:
mode:
authorMarc Balmer <mbalmer@cvs.openbsd.org>2006-12-10 16:47:45 +0000
committerMarc Balmer <mbalmer@cvs.openbsd.org>2006-12-10 16:47:45 +0000
commit60d788b5f944ac71b5dc50762c0b01ea2d1fd445 (patch)
tree2785d4ce63971b0061b42a5ba97ebdee429f5be1 /sys/dev/usb/udcf.c
parent96ec28030eb63b58b9fe231a1097535ce2043f22 (diff)
Make sure the bit collecting is restarted after signal loss.
Diffstat (limited to 'sys/dev/usb/udcf.c')
-rw-r--r--sys/dev/usb/udcf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/usb/udcf.c b/sys/dev/usb/udcf.c
index 2db1ff70a99..fd44cfa9041 100644
--- a/sys/dev/usb/udcf.c
+++ b/sys/dev/usb/udcf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: udcf.c,v 1.26 2006/12/10 16:13:32 mbalmer Exp $ */
+/* $OpenBSD: udcf.c,v 1.27 2006/12/10 16:47:44 mbalmer Exp $ */
/*
* Copyright (c) 2006 Marc Balmer <mbalmer@openbsd.org>
@@ -635,6 +635,7 @@ udcf_sl_probe(void *xsc)
DPRINTF(("no signal\n"));
sc->sc_sync = 1;
timeout_add(&sc->sc_to, t_wait);
+ timeout_add(&sc->sc_sl_to, t_wait + t_sl);
}
/* invalidate timedelta */