IoAllocateAdapterChannel should set CurrentIrp field in the wait context block.
Modified: trunk/reactos/ntoskrnl/io/adapter.c
--- trunk/reactos/ntoskrnl/io/adapter.c 2005-07-29 13:56:00 UTC (rev 16864) +++ trunk/reactos/ntoskrnl/io/adapter.c 2005-07-29 13:58:25 UTC (rev 16865) @@ -33,6 +33,7 @@
{ DeviceObject->Queue.Wcb.DeviceObject = DeviceObject; DeviceObject->Queue.Wcb.DeviceContext = Context;
+ DeviceObject->Queue.Wcb.CurrentIrp = DeviceObject->CurrentIrp;
return HalAllocateAdapterChannel( AdapterObject, &DeviceObject->Queue.Wcb,