Return USBD_NORMAL_COMPLETION instead of a hard coded 0.

This commit is contained in:
n_hibma 2008-10-30 08:13:49 +00:00
parent 64f5c79806
commit 01935a1863

View File

@ -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();