[USBSTOR]
authorJohannes Anderwald <johannes.anderwald@reactos.org>
Sun, 19 Feb 2012 09:45:54 +0000 (09:45 +0000)
committerJohannes Anderwald <johannes.anderwald@reactos.org>
Sun, 19 Feb 2012 09:45:54 +0000 (09:45 +0000)
- Fix bugs introduced in rev 55695

svn path=/trunk/; revision=55702

reactos/drivers/usb/usbstor/pdo.c

index 9c27fe9..4b8d032 100644 (file)
@@ -1115,7 +1115,7 @@ USBSTOR_SendIrp(
     //
     // let's allocate an irp
     //
-    Status = USBSTOR_AllocateIrp(PDODeviceObject, sizeof(UFI_INQUIRY_RESPONSE), SCSIOP_INQUIRY, &Event, &Request, &Irp);
+    Status = USBSTOR_AllocateIrp(PDODeviceObject, DataTransferLength, OpCode, &Event, &Request, &Irp);
     if (!NT_SUCCESS(Status))
     {
         //