[ros-diffs] [cgutman] 36740: - Implement ProtocolResetComplete - Store the status that gets passed to the completion routine

cgutman at svn.reactos.org cgutman at svn.reactos.org
Mon Oct 13 02:55:33 CEST 2008


Author: cgutman
Date: Sun Oct 12 19:55:33 2008
New Revision: 36740

URL: http://svn.reactos.org/svn/reactos?rev=36740&view=rev
Log:
 - Implement ProtocolResetComplete
 - Store the status that gets passed to the completion routine

Modified:
    branches/aicom-network-fixes/drivers/network/tcpip/datalink/lan.c

Modified: branches/aicom-network-fixes/drivers/network/tcpip/datalink/lan.c
URL: http://svn.reactos.org/svn/reactos/branches/aicom-network-fixes/drivers/network/tcpip/datalink/lan.c?rev=36740&r1=36739&r2=36740&view=diff
==============================================================================
--- branches/aicom-network-fixes/drivers/network/tcpip/datalink/lan.c [iso-8859-1] (original)
+++ branches/aicom-network-fixes/drivers/network/tcpip/datalink/lan.c [iso-8859-1] Sun Oct 12 19:55:33 2008
@@ -201,6 +201,8 @@
 
     TI_DbgPrint(DEBUG_DATALINK, ("Called.\n"));
 
+    Adapter->NdisStatus = Status;
+
     KeSetEvent(&Adapter->Event, 0, FALSE);
 }
 
@@ -235,7 +237,13 @@
  *     Status         = Status of the operation
  */
 {
-    TI_DbgPrint(MID_TRACE, ("Called.\n"));
+    PLAN_ADAPTER Adapter = (PLAN_ADAPTER)BindingContext;
+
+    TI_DbgPrint(DEBUG_DATALINK, ("Called.\n"));
+
+    Adapter->NdisStatus = Status;
+
+    KeSetEvent(&Adapter->Event, 0, FALSE);
 }
 
 



More information about the Ros-diffs mailing list