PERFORCE change 98973 for review

Hans Petter Selasky hselasky at FreeBSD.org
Sun Jun 11 08:16:43 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=98973

Change 98973 by hselasky at hselasky_mini_itx on 2006/06/11 08:13:50

	Improve handling of "clear-stall".

Affected files ...

.. //depot/projects/usb/src/sys/dev/usb/ulpt.c#7 edit

Differences ...

==== //depot/projects/usb/src/sys/dev/usb/ulpt.c#7 (text+ko) ====

@@ -157,6 +157,7 @@
  tr_transferred:
  tr_setup:
 	if (sc->sc_flags & ULPT_FLAG_WRITE_STALL) {
+	    usbd_transfer_start(sc->sc_xfer[4]);
 	    return;
 	}
 	if (usb_cdev_get_data(&(sc->sc_cdev), xfer->buffer, 
@@ -219,6 +220,7 @@
 
  tr_setup:
 	if (sc->sc_flags & ULPT_FLAG_READ_STALL) {
+	    usbd_transfer_start(sc->sc_xfer[5]);
 	    return;
 	}
 


More information about the p4-projects mailing list