[ros-diffs] [cgutman] 41399: - Implement NdisGeneratePartialCancelId

cgutman at svn.reactos.org cgutman at svn.reactos.org
Sat Jun 13 07:25:55 CEST 2009


Author: cgutman
Date: Sat Jun 13 09:25:54 2009
New Revision: 41399

URL: http://svn.reactos.org/svn/reactos?rev=41399&view=rev
Log:
 - Implement NdisGeneratePartialCancelId

Modified:
    trunk/reactos/drivers/network/ndis/ndis/50stubs.c
    trunk/reactos/drivers/network/ndis/ndis/misc.c

Modified: trunk/reactos/drivers/network/ndis/ndis/50stubs.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/ndis/ndis/50stubs.c?rev=41399&r1=41398&r2=41399&view=diff
==============================================================================
--- trunk/reactos/drivers/network/ndis/ndis/50stubs.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/ndis/ndis/50stubs.c [iso-8859-1] Sat Jun 13 09:25:54 2009
@@ -66,18 +66,6 @@
     *StacksRemaining = FALSE;
 
     return NULL;
-}
-
-/*
- * @unimplemented
- */
-UCHAR
-EXPORT
-NdisGeneratePartialCancelId(VOID)
-{
-    UNIMPLEMENTED
-
-    return 0;
 }
 
 /*

Modified: trunk/reactos/drivers/network/ndis/ndis/misc.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/ndis/ndis/misc.c?rev=41399&r1=41398&r2=41399&view=diff
==============================================================================
--- trunk/reactos/drivers/network/ndis/ndis/misc.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/ndis/ndis/misc.c [iso-8859-1] Sat Jun 13 09:25:54 2009
@@ -511,4 +511,20 @@
     return (UINT) 0x501;
 }
 
+/*
+ * @implemented
+ */
+UCHAR
+EXPORT
+NdisGeneratePartialCancelId(VOID)
+{
+    static UCHAR CancelId = 0;
+
+    CancelId++;
+
+    NDIS_DbgPrint(MAX_TRACE, ("Cancel ID %u\n", CancelId));
+
+    return CancelId;
+}
+
 /* EOF */



More information about the Ros-diffs mailing list