patch-2.4.21 linux-2.4.21/drivers/usb/storage/sddr55.c
Next file: linux-2.4.21/drivers/usb/storage/shuttle_usbat.c
Previous file: linux-2.4.21/drivers/usb/storage/sddr09.h
Back to the patch index
Back to the overall index
-  Lines: 11
-  Date:
2003-06-13 07:51:37.000000000 -0700
-  Orig file: 
linux-2.4.20/drivers/usb/storage/sddr55.c
-  Orig date: 
2002-11-28 15:53:15.000000000 -0800
diff -urN linux-2.4.20/drivers/usb/storage/sddr55.c linux-2.4.21/drivers/usb/storage/sddr55.c
@@ -106,8 +106,8 @@
 			return US_BULK_TRANSFER_FAILED;
 		}
 
-		/* -ENOENT -- we canceled this transfer */
-		if (result == -ENOENT) {
+		/* -ECONNRESET -- we canceled this transfer */
+		if (result == -ECONNRESET) {
 			US_DEBUGP("usbat_raw_bulk():"
 				" transfer aborted\n");
 			return US_BULK_TRANSFER_ABORTED;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)