Author: cgutman
Date: Thu Apr 9 23:43:16 2009
New Revision: 40431
URL:
http://svn.reactos.org/svn/reactos?rev=40431&view=rev
Log:
- Fix a very old bug (since r11789) which causes miniport drivers that call
NdisMTranferDataComplete to fail
Modified:
trunk/reactos/drivers/network/ndis/ndis/miniport.c
Modified: trunk/reactos/drivers/network/ndis/ndis/miniport.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/ndis/ndis/…
==============================================================================
--- trunk/reactos/drivers/network/ndis/ndis/miniport.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/ndis/ndis/miniport.c [iso-8859-1] Thu Apr 9 23:43:16
2009
@@ -425,10 +425,11 @@
AdapterBinding = (PADAPTER_BINDING)Packet->Reserved[0];
KeRaiseIrql(DISPATCH_LEVEL, &OldIrql);
- (*AdapterBinding->ProtocolBinding->Chars.SendCompleteHandler)(
+ (*AdapterBinding->ProtocolBinding->Chars.TransferDataCompleteHandler)(
AdapterBinding->NdisOpenBlock.ProtocolBindingContext,
Packet,
- Status);
+ Status,
+ BytesTransferred);
KeLowerIrql(OldIrql);
}