Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 May 2009 17:27:17 GMT
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 161900 for review
Message-ID:  <200905101727.n4AHRHTR093190@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=161900

Change 161900 by hselasky@hselasky_laptop001 on 2009/05/10 17:26:41

	
	USB CORE:
	 - Fix non-blocking operation of all USB devices.
	 - This feature has been broken for a while hence the wrong flag
	   was tested.

Affected files ...

.. //depot/projects/usb/src/sys/dev/usb/usb_dev.c#18 edit

Differences ...

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

@@ -1203,7 +1203,7 @@
 
 			(f->methods->f_start_read) (f);
 
-			if (fflags & IO_NDELAY) {
+			if (ioflag & IO_NDELAY) {
 				if (tr_data) {
 					/* return length before error */
 					break;
@@ -1326,7 +1326,7 @@
 
 		if (m == NULL) {
 
-			if (fflags & IO_NDELAY) {
+			if (ioflag & IO_NDELAY) {
 				if (tr_data) {
 					/* return length before error */
 					break;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905101727.n4AHRHTR093190>