Author: cgutman
Date: Fri Sep 12 13:39:09 2008
New Revision: 36170
URL:
http://svn.reactos.org/svn/reactos?rev=36170&view=rev
Log:
- Merge r36169 from aicom-network-fixes
Modified:
trunk/reactos/drivers/network/ndis/ndis/protocol.c
Modified: trunk/reactos/drivers/network/ndis/ndis/protocol.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/ndis/ndis/…
==============================================================================
--- trunk/reactos/drivers/network/ndis/ndis/protocol.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/ndis/ndis/protocol.c [iso-8859-1] Fri Sep 12 13:39:09
2008
@@ -419,6 +419,8 @@
{
PADAPTER_BINDING AdapterBinding = GET_ADAPTER_BINDING(MacBindingHandle);
PLOGICAL_ADAPTER Adapter = AdapterBinding->Adapter;
+ NDIS_STATUS Status;
+ KIRQL OldIrql;
NDIS_DbgPrint(MAX_TRACE, ("Called.\n"));
@@ -437,13 +439,19 @@
return NDIS_STATUS_SUCCESS;
}
- return
(*Adapter->NdisMiniportBlock.DriverHandle->MiniportCharacteristics.TransferDataHandler)(
+ KeRaiseIrql(DISPATCH_LEVEL, &OldIrql);
+
+ Status =
(*Adapter->NdisMiniportBlock.DriverHandle->MiniportCharacteristics.TransferDataHandler)(
Packet,
BytesTransferred,
Adapter->NdisMiniportBlock.MiniportAdapterContext,
MacReceiveContext,
ByteOffset,
BytesToTransfer);
+
+ KeLowerIrql(OldIrql);
+
+ return Status;
}