Module Name:    src
Committed By:   skrll
Date:           Fri Apr 29 07:11:32 UTC 2016

Modified Files:
        src/sys/dev/usb: umass.c

Log Message:
Create the UMASS_INTRIN trasnfer against the correct pipe.  Should fix a
problem reported to me by wiz@


To generate a diff of this commit:
cvs rdiff -u -r1.151 -r1.152 src/sys/dev/usb/umass.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/umass.c
diff -u src/sys/dev/usb/umass.c:1.151 src/sys/dev/usb/umass.c:1.152
--- src/sys/dev/usb/umass.c:1.151	Sat Apr 23 10:15:32 2016
+++ src/sys/dev/usb/umass.c	Fri Apr 29 07:11:32 2016
@@ -1,4 +1,4 @@
-/*	$NetBSD: umass.c,v 1.151 2016/04/23 10:15:32 skrll Exp $	*/
+/*	$NetBSD: umass.c,v 1.152 2016/04/29 07:11:32 skrll Exp $	*/
 
 /*
  * Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -124,7 +124,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: umass.c,v 1.151 2016/04/23 10:15:32 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: umass.c,v 1.152 2016/04/29 07:11:32 skrll Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_usb.h"
@@ -649,8 +649,9 @@ umass_attach(device_t parent, device_t s
 		    &sc->transfer_xfer[XFER_CBI_DATAOUT]);
 		if (err)
 			goto fail_create;
-		err = usbd_create_xfer(pipe0, sizeof(sc->sbl),
-		    0, 0, &sc->transfer_xfer[XFER_CBI_STATUS]);
+		err = usbd_create_xfer(sc->sc_pipe[UMASS_INTRIN],
+		    sizeof(sc->sbl), 0, 0,
+		    &sc->transfer_xfer[XFER_CBI_STATUS]);
 		if (err)
 			goto fail_create;
 		err = usbd_create_xfer(pipe0, 0, 0, 0,

Reply via email to