patch-2.4.22 linux-2.4.22/drivers/usb/storage/transport.c

Next file: linux-2.4.22/drivers/usb/storage/transport.h
Previous file: linux-2.4.22/drivers/usb/storage/sddr09.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/drivers/usb/storage/transport.c linux-2.4.22/drivers/usb/storage/transport.c
@@ -1250,7 +1250,7 @@
 	US_DEBUGP("Bulk status Sig 0x%x T 0x%x R %d Stat 0x%x\n",
 		  le32_to_cpu(bcs->Signature), bcs->Tag, 
 		  bcs->Residue, bcs->Status);
-	if (bcs->Signature != cpu_to_le32(US_BULK_CS_SIGN) || 
+	if ((bcs->Signature != cpu_to_le32(US_BULK_CS_SIGN) && bcs->Signature != cpu_to_le32(US_BULK_CS_OLYMPUS_SIGN)) ||
 	    bcs->Tag != bcb->Tag || 
 	    bcs->Status > US_BULK_STAT_PHASE || partial != 13) {
 		US_DEBUGP("Bulk logical error\n");

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)