Date: Thu, 30 Oct 2008 08:13:49 +0000 (UTC) From: Nick Hibma <n_hibma@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r184464 - head/sys/dev/usb Message-ID: <200810300813.m9U8DnXX045386@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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();
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200810300813.m9U8DnXX045386>