[USBSTOR]

- Fix bugs introduced in rev 55695

svn path=/trunk/; revision=55702
This commit is contained in:
Johannes Anderwald 2012-02-19 09:45:54 +00:00
parent f9a5be185d
commit 83e2f62323

View 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))
{
//