https://git.reactos.org/?p=reactos.git;a=commitdiff;h=ccaf7b24c3f0847e9c772…
commit ccaf7b24c3f0847e9c772074533d1647390c5c68
Author: Thomas Faber <thomas.faber(a)reactos.org>
AuthorDate: Mon May 14 18:16:02 2018 +0200
Commit: Thomas Faber <thomas.faber(a)reactos.org>
CommitDate: Mon May 14 18:17:52 2018 +0200
[NDIS] Fix parameter order when calling ResetHandler. CORE-14624
---
drivers/network/ndis/ndis/miniport.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/network/ndis/ndis/miniport.c b/drivers/network/ndis/ndis/miniport.c
index 904158d2c3..3301682b97 100644
--- a/drivers/network/ndis/ndis/miniport.c
+++ b/drivers/network/ndis/ndis/miniport.c
@@ -921,8 +921,8 @@ MiniReset(
KeRaiseIrql(DISPATCH_LEVEL, &OldIrql);
Status =
(*Adapter->NdisMiniportBlock.DriverHandle->MiniportCharacteristics.ResetHandler)(
- Adapter->NdisMiniportBlock.MiniportAdapterContext,
- &AddressingReset);
+ &AddressingReset,
+ Adapter->NdisMiniportBlock.MiniportAdapterContext);
KeAcquireSpinLockAtDpcLevel(&Adapter->NdisMiniportBlock.Lock);
Adapter->NdisMiniportBlock.ResetStatus = Status;
@@ -1326,8 +1326,8 @@ MiniportWorker(IN PDEVICE_OBJECT DeviceObject, IN PVOID Context)
KeRaiseIrql(DISPATCH_LEVEL, &OldIrql);
NdisStatus =
(*Adapter->NdisMiniportBlock.DriverHandle->MiniportCharacteristics.ResetHandler)(
- Adapter->NdisMiniportBlock.MiniportAdapterContext,
- &AddressingReset);
+ &AddressingReset,
+ Adapter->NdisMiniportBlock.MiniportAdapterContext);
KeAcquireSpinLockAtDpcLevel(&Adapter->NdisMiniportBlock.Lock);
Adapter->NdisMiniportBlock.ResetStatus = NdisStatus;