PERFORCE change 161900 for review

Hans Petter Selasky hselasky at FreeBSD.org
Sun May 10 17:27:18 UTC 2009


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

Change 161900 by hselasky at 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;


More information about the p4-projects mailing list