- Enable the code in NdisSetTimerEx
authorCameron Gutman <aicommander@gmail.com>
Tue, 2 Jun 2009 18:20:15 +0000 (18:20 +0000)
committerCameron Gutman <aicommander@gmail.com>
Tue, 2 Jun 2009 18:20:15 +0000 (18:20 +0000)
 - Add a debug print

svn path=/trunk/; revision=41258

reactos/drivers/network/ndis/ndis/time.c

index 26b454e..75a65f3 100644 (file)
@@ -243,6 +243,9 @@ NdisSetTimer(
   KeSetTimer (&Timer->Timer, Timeout, &Timer->Dpc);
 }
 
+/*
+ * @implemented
+ */
 VOID
 EXPORT
 NdisSetTimerEx(
@@ -250,18 +253,12 @@ NdisSetTimerEx(
     IN UINT  MillisecondsToDelay,
     IN PVOID  FunctionContext)
 {
-#if 0
-    /* FIXME: I'm not sure how to this in a nice way
-     * We can't store the function context anywhere in NDIS_TIMER
-     * so I'm forced to do this
-     */
+    NDIS_DbgPrint(MAX_TRACE, ("Called. Timer is: 0x%x, Timeout is: %ld, FunctionContext is: 0x%x\n", 
+                               Timer, MillisecondsToDelay, FunctionContext));
 
     Timer->Dpc.DeferredContext = FunctionContext;
 
     NdisSetTimer(Timer, MillisecondsToDelay);
-#else
-    UNIMPLEMENTED
-#endif
 }
 
 /* EOF */