svn commit: r184464 - head/sys/dev/usb
Nick Hibma
n_hibma at FreeBSD.org
Thu Oct 30 01:13:50 PDT 2008
Author: n_hibma
Date: Thu Oct 30 08:13:49 2008
New Revision: 184464
URL: http://svn.freebsd.org/changeset/base/184464
Log:
Return USBD_NORMAL_COMPLETION instead of a hard coded 0.
Modified:
head/sys/dev/usb/usbdi.c
Modified: head/sys/dev/usb/usbdi.c
==============================================================================
--- head/sys/dev/usb/usbdi.c Thu Oct 30 04:55:12 2008 (r184463)
+++ head/sys/dev/usb/usbdi.c Thu Oct 30 08:13:49 2008 (r184464)
@@ -325,7 +325,7 @@ usbd_transfer(usbd_xfer_handle xfer)
}
if (!(xfer->flags & USBD_SYNCHRONOUS))
- return (xfer->done ? 0 : USBD_IN_PROGRESS);
+ return (xfer->done ? USBD_NORMAL_COMPLETION : USBD_IN_PROGRESS);
/* Sync transfer, wait for completion. */
s = splusb();
More information about the svn-src-head
mailing list