summaryrefslogtreecommitdiff
path: root/sys/dev/usb/uhub.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/uhub.c')
-rw-r--r--sys/dev/usb/uhub.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/usb/uhub.c b/sys/dev/usb/uhub.c
index 626bd0d62f7..68fd843a3a1 100644
--- a/sys/dev/usb/uhub.c
+++ b/sys/dev/usb/uhub.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uhub.c,v 1.21 2003/07/08 13:19:09 nate Exp $ */
+/* $OpenBSD: uhub.c,v 1.22 2004/06/10 17:31:15 pvalchev Exp $ */
/* $NetBSD: uhub.c,v 1.64 2003/02/08 03:32:51 ichiro Exp $ */
/* $FreeBSD: src/sys/dev/usb/uhub.c,v 1.18 1999/11/17 22:33:43 n_hibma Exp $ */
@@ -292,6 +292,7 @@ USB_ATTACH(uhub)
up->power = USB_MAX_POWER;
else
up->power = USB_MIN_POWER;
+ up->restartcnt = 0;
}
/* XXX should check for none, individual, or ganged power? */