Author: arty
Date: Mon Mar 23 22:45:21 2009
New Revision: 40190
URL:
http://svn.reactos.org/svn/reactos?rev=40190&view=rev
Log:
Actually mark irp pending.
Modified:
trunk/reactos/drivers/network/afd/afd/lock.c
Modified: trunk/reactos/drivers/network/afd/afd/lock.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/afd/afd/lo…
==============================================================================
--- trunk/reactos/drivers/network/afd/afd/lock.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/afd/afd/lock.c [iso-8859-1] Mon Mar 23 22:45:21 2009
@@ -321,5 +321,7 @@
NTSTATUS LeaveIrpUntilLater( PAFD_FCB FCB, PIRP Irp, UINT Function ) {
InsertTailList( &FCB->PendingIrpList[Function],
&Irp->Tail.Overlay.ListEntry );
+ IoMarkIrpPending(Irp);
+ Irp->IoStatus.Status = STATUS_PENDING;
return UnlockAndMaybeComplete( FCB, STATUS_PENDING, Irp, 0, NULL );
}