cvs commit: src/sys/dev/usb ugen.c

[ Available lists | Index of cvs-src | Month of Jun 2007 | Week of 28 Jun 2007 | Raw email | View thread | Wrap long lines | Reply ]
From
Warner Losh <imp@FreeBSD.org>
Date
28 Jun 2007 05:15:34
Subject
cvs commit: src/sys/dev/usb ugen.c
Message-ID
200706280515.l5S5FYKd098912@repoman.freebsd.org


[ Hide this part ]
imp         2007-06-28 05:15:34 UTC

FreeBSD src repository

Modified files:
sys/dev/usb ugen.c
Log:
For both interrupt and isochronous (the patch was unclear which one it
applied to, but I'd think both), honor the timeout that's been set.
Return 0 bytes to be consistant with what libusb expects. By default,
the timeout will be zero, so only applications that change the default
will see a change. The patch only seems to apply to the interrupt end
points, but it should also apply to isochronous endpoints as well.

Submitted by: Maurice Castro
PR: 110122
Approved by: re (blanket)

Revision Changes Path
1.110 +13 -3 src/sys/dev/usb/ugen.c


Elapsed time: 0.185 seconds