Author: janderwald
Date: Sun Feb 19 09:45:54 2012
New Revision: 55702
URL:
http://svn.reactos.org/svn/reactos?rev=55702&view=rev
Log:
[USBSTOR]
- Fix bugs introduced in rev 55695
Modified:
trunk/reactos/drivers/usb/usbstor/pdo.c
Modified: trunk/reactos/drivers/usb/usbstor/pdo.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/usb/usbstor/pdo.c?…
==============================================================================
--- trunk/reactos/drivers/usb/usbstor/pdo.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/usb/usbstor/pdo.c [iso-8859-1] Sun Feb 19 09:45:54 2012
@@ -1115,7 +1115,7 @@
//
// 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))
{
//