Author: cgutman
Date: Tue Jun 2 22:20:15 2009
New Revision: 41258
URL:
http://svn.reactos.org/svn/reactos?rev=41258&view=rev
Log:
- Enable the code in NdisSetTimerEx
- Add a debug print
Modified:
trunk/reactos/drivers/network/ndis/ndis/time.c
Modified: trunk/reactos/drivers/network/ndis/ndis/time.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/ndis/ndis/…
==============================================================================
--- trunk/reactos/drivers/network/ndis/ndis/time.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/ndis/ndis/time.c [iso-8859-1] Tue Jun 2 22:20:15 2009
@@ -243,6 +243,9 @@
KeSetTimer (&Timer->Timer, Timeout, &Timer->Dpc);
}
+/*
+ * @implemented
+ */
VOID
EXPORT
NdisSetTimerEx(
@@ -250,18 +253,12 @@
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 */