Module Name:    src
Committed By:   skrll
Date:           Sat Jan 31 22:28:15 UTC 2015

Modified Files:
        src/sys/dev/usb [nick-nhusb]: usbroothub.c

Log Message:
Correct the return value from roothub_ctrl_start - previously it was
always USBD_IN_PROGRESS


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.3 -r1.1.2.4 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.3 src/sys/dev/usb/usbroothub.c:1.1.2.4
--- src/sys/dev/usb/usbroothub.c:1.1.2.3	Fri Dec  5 09:37:50 2014
+++ src/sys/dev/usb/usbroothub.c	Sat Jan 31 22:28:15 2015
@@ -1,4 +1,4 @@
-/* $NetBSD: usbroothub.c,v 1.1.2.3 2014/12/05 09:37:50 skrll Exp $ */
+/* $NetBSD: usbroothub.c,v 1.1.2.4 2015/01/31 22:28:15 skrll Exp $ */
 
 /*-
  * Copyright (c) 1998, 2004, 2011, 2012 The NetBSD Foundation, Inc.
@@ -463,7 +463,7 @@ roothub_ctrl_start(usbd_xfer_handle xfer
 	usb_transfer_complete(xfer);
 	mutex_exit(bus->ub_lock);
 
-	return USBD_IN_PROGRESS;
+	return err;
 }
 
 /* Abort a root control request. */

Reply via email to