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();
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to