From 769eadf1018a819582387ee4b044f5bb97aeca28 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Wed, 1 Oct 2008 23:10:00 +0000 Subject: [PATCH] - Adapter not NdisMiniportBlock is passed to ServiceRoutine svn path=/branches/aicom-network-fixes/; revision=36619 --- drivers/network/ndis/ndis/io.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/network/ndis/ndis/io.c b/drivers/network/ndis/ndis/io.c index dc325bff192..656b3d4f603 100644 --- a/drivers/network/ndis/ndis/io.c +++ b/drivers/network/ndis/ndis/io.c @@ -62,19 +62,19 @@ BOOLEAN NTAPI ServiceRoutine( { BOOLEAN InterruptRecognized; BOOLEAN QueueMiniportHandleInterrupt; - PNDIS_MINIPORT_BLOCK Adapter = (PNDIS_MINIPORT_BLOCK)ServiceContext; + PLOGICAL_ADAPTER Adapter = ServiceContext; NDIS_DbgPrint(MAX_TRACE, ("Called. Adapter (0x%X)\n", Adapter)); - (*Adapter->DriverHandle->MiniportCharacteristics.ISRHandler)( + (*Adapter->NdisMiniportBlock.DriverHandle->MiniportCharacteristics.ISRHandler)( &InterruptRecognized, &QueueMiniportHandleInterrupt, - Adapter->MiniportAdapterContext); + Adapter->NdisMiniportBlock.MiniportAdapterContext); if (QueueMiniportHandleInterrupt) { NDIS_DbgPrint(MAX_TRACE, ("Queueing DPC.\n")); - KeInsertQueueDpc(&Adapter->Interrupt->InterruptDpc, NULL, NULL); + KeInsertQueueDpc(&Adapter->NdisMiniportBlock.Interrupt->InterruptDpc, NULL, NULL); } NDIS_DbgPrint(MAX_TRACE, ("Leaving.\n"));