Module Name: src Committed By: skrll Date: Mon Dec 28 22:35:19 UTC 2015
Modified Files: src/sys/dev/usb [nick-nhusb]: usbroothub.c Log Message: In roothub_ctrl_start always return USBD_NORMAL_COMPLETION as any error for the (synchronous) transfer is in ux_status To generate a diff of this commit: cvs rdiff -u -r1.1.2.6 -r1.1.2.7 src/sys/dev/usb/usbroothub.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/usb/usbroothub.c diff -u src/sys/dev/usb/usbroothub.c:1.1.2.6 src/sys/dev/usb/usbroothub.c:1.1.2.7 --- src/sys/dev/usb/usbroothub.c:1.1.2.6 Thu Mar 19 17:26:43 2015 +++ src/sys/dev/usb/usbroothub.c Mon Dec 28 22:35:19 2015 @@ -1,4 +1,4 @@ -/* $NetBSD: usbroothub.c,v 1.1.2.6 2015/03/19 17:26:43 skrll Exp $ */ +/* $NetBSD: usbroothub.c,v 1.1.2.7 2015/12/28 22:35:19 skrll Exp $ */ /*- * Copyright (c) 1998, 2004, 2011, 2012 The NetBSD Foundation, Inc. @@ -458,7 +458,7 @@ roothub_ctrl_start(struct usbd_xfer *xfe usb_transfer_complete(xfer); mutex_exit(bus->ub_lock); - return err; + return USBD_NORMAL_COMPLETION; } /* Abort a root control request. */