Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/nick-nhusb]: src/sys/dev/usb In roothub_ctrl_start always return USBD_NO...



details:   https://anonhg.NetBSD.org/src/rev/4931b70dd99c
branches:  nick-nhusb
changeset: 804498:4931b70dd99c
user:      skrll <skrll%NetBSD.org@localhost>
date:      Mon Dec 28 22:35:19 2015 +0000

description:
In roothub_ctrl_start always return USBD_NORMAL_COMPLETION as any error
for the (synchronous) transfer is in ux_status

diffstat:

 sys/dev/usb/usbroothub.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r a7d0aa22bcae -r 4931b70dd99c sys/dev/usb/usbroothub.c
--- a/sys/dev/usb/usbroothub.c  Mon Dec 28 22:25:43 2015 +0000
+++ b/sys/dev/usb/usbroothub.c  Mon Dec 28 22:35:19 2015 +0000
@@ -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 @@
        usb_transfer_complete(xfer);
        mutex_exit(bus->ub_lock);
 
-       return err;
+       return USBD_NORMAL_COMPLETION;
 }
 
 /* Abort a root control request. */



Home | Main Index | Thread Index | Old Index