Author: cgutman
Date: Fri Aug 1 12:21:52 2008
New Revision: 35014
URL:
http://svn.reactos.org/svn/reactos?rev=35014&view=rev
Log:
- These should no longer be needed now that TDI doesn't give back invalid IRPs
- I'll look into the canceling issue later
Modified:
branches/aicom-network-fixes/drivers/network/afd/afd/read.c
branches/aicom-network-fixes/drivers/network/afd/afd/write.c
Modified: branches/aicom-network-fixes/drivers/network/afd/afd/read.c
URL:
http://svn.reactos.org/svn/reactos/branches/aicom-network-fixes/drivers/net…
==============================================================================
--- branches/aicom-network-fixes/drivers/network/afd/afd/read.c [iso-8859-1] (original)
+++ branches/aicom-network-fixes/drivers/network/afd/afd/read.c [iso-8859-1] Fri Aug 1
12:21:52 2008
@@ -227,11 +227,6 @@
ASSERT_IRQL(APC_LEVEL);
- if (Irp->Cancel) {
- FCB->ReceiveIrp.InFlightRequest = NULL;
- return STATUS_SUCCESS;
- }
-
if( !SocketAcquireStateLock( FCB ) ) return Status;
FCB->ReceiveIrp.InFlightRequest = NULL;
@@ -447,11 +442,6 @@
UINT DGSize = Irp->IoStatus.Information + sizeof( AFD_STORED_DATAGRAM );
AFD_DbgPrint(MID_TRACE,("Called on %x\n", FCB));
-
- if (Irp->Cancel) {
- FCB->ReceiveIrp.InFlightRequest = NULL;
- return STATUS_SUCCESS;
- }
if( !SocketAcquireStateLock( FCB ) ) return STATUS_UNSUCCESSFUL;
Modified: branches/aicom-network-fixes/drivers/network/afd/afd/write.c
URL:
http://svn.reactos.org/svn/reactos/branches/aicom-network-fixes/drivers/net…
==============================================================================
--- branches/aicom-network-fixes/drivers/network/afd/afd/write.c [iso-8859-1] (original)
+++ branches/aicom-network-fixes/drivers/network/afd/afd/write.c [iso-8859-1] Fri Aug 1
12:21:52 2008
@@ -40,11 +40,6 @@
ASSERT_IRQL(APC_LEVEL);
- if (Irp->Cancel) {
- FCB->SendIrp.InFlightRequest = NULL;
- return STATUS_SUCCESS;
- }
-
if( !SocketAcquireStateLock( FCB ) ) return Status;
FCB->SendIrp.InFlightRequest = NULL;
@@ -176,11 +171,6 @@
Irp->IoStatus.Status,
Irp->IoStatus.Information));
- if (Irp->Cancel) {
- FCB->SendIrp.InFlightRequest = NULL;
- return STATUS_SUCCESS;
- }
-
/* It's ok if the FCB already died */
if( !SocketAcquireStateLock( FCB ) ) return STATUS_SUCCESS;