reactos/drivers/net/ndis/ndis
diff -u -r1.14 -r1.15
--- io.c 10 Feb 2004 18:11:12 -0000 1.14
+++ io.c 21 Feb 2004 12:58:49 -0000 1.15
@@ -426,6 +426,7 @@
{
NDIS_DbgPrint(MAX_TRACE, ("iterating, basemapregistersneeded = %d, IoAlloc = 0x%x\n", BaseMapRegistersNeeded, IoAllocateAdapterChannel));
+ BaseMapRegistersNeeded--;
Adapter->NdisMiniportBlock.CurrentMapRegister = BaseMapRegistersNeeded;
KeRaiseIrql(DISPATCH_LEVEL, &OldIrql);
{
@@ -453,8 +454,6 @@
NDIS_DbgPrint(MAX_TRACE, ("resetting event\n"));
KeResetEvent(&Adapter->DmaEvent);
-
- BaseMapRegistersNeeded--;
}
NDIS_DbgPrint(MAX_TRACE, ("returning success\n"));