summaryrefslogtreecommitdiff
path: root/sys/dev/usb/ugen.c
diff options
context:
space:
mode:
authorNathan Binkert <nate@cvs.openbsd.org>2002-07-09 17:41:03 +0000
committerNathan Binkert <nate@cvs.openbsd.org>2002-07-09 17:41:03 +0000
commit5f8c9aa17ff339d9cd2fe163ad5e09cec45cb884 (patch)
tree6f38e0ab07c7daf86f44f263ad1aed45b82e0ca8 /sys/dev/usb/ugen.c
parentcebe98a45ed501bcac0a82360db9f4a93e1bd4cd (diff)
make the timeout a function parameter
From NetBSD
Diffstat (limited to 'sys/dev/usb/ugen.c')
-rw-r--r--sys/dev/usb/ugen.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/usb/ugen.c b/sys/dev/usb/ugen.c
index ab1996330d9..2a393c3f1df 100644
--- a/sys/dev/usb/ugen.c
+++ b/sys/dev/usb/ugen.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ugen.c,v 1.20 2002/05/07 18:29:18 nate Exp $ */
+/* $OpenBSD: ugen.c,v 1.21 2002/07/09 17:41:02 nate Exp $ */
/* $NetBSD: ugen.c,v 1.49 2001/10/24 22:31:04 augustss Exp $ */
/* $FreeBSD: src/sys/dev/usb/ugen.c,v 1.26 1999/11/17 22:33:41 n_hibma Exp $ */
@@ -1220,7 +1220,8 @@ ugen_do_ioctl(struct ugen_softc *sc, int endpt, u_long cmd,
}
}
err = usbd_do_request_flags(sc->sc_udev, &ur->ucr_request,
- ptr, ur->ucr_flags, &ur->ucr_actlen);
+ ptr, ur->ucr_flags, &ur->ucr_actlen,
+ USBD_DEFAULT_TIMEOUT);
if (err) {
error = EIO;
goto ret;