Author: cgutman
Date: Sat Sep 27 13:30:11 2008
New Revision: 36552
URL:
http://svn.reactos.org/svn/reactos?rev=36552&view=rev
Log:
- Call ResetHandler directly
Modified:
branches/aicom-network-fixes/drivers/network/ndis/ndis/miniport.c
Modified: branches/aicom-network-fixes/drivers/network/ndis/ndis/miniport.c
URL:
http://svn.reactos.org/svn/reactos/branches/aicom-network-fixes/drivers/net…
==============================================================================
--- branches/aicom-network-fixes/drivers/network/ndis/ndis/miniport.c [iso-8859-1]
(original)
+++ branches/aicom-network-fixes/drivers/network/ndis/ndis/miniport.c [iso-8859-1] Sat Sep
27 13:30:11 2008
@@ -943,7 +943,11 @@
break;
case NdisWorkItemResetRequested:
- NdisStatus = MiniReset(Adapter, &AddressingReset);
+ KeRaiseIrql(DISPATCH_LEVEL, &OldIrql);
+ NdisStatus =
(*Adapter->NdisMiniportBlock.DriverHandle->MiniportCharacteristics.ResetHandler)(
+ Adapter->NdisMiniportBlock.MiniportAdapterContext,
+ &AddressingReset);
+ KeLowerIrql(OldIrql);
if (NdisStatus == NDIS_STATUS_PENDING)
break;