- Fix a multiplication error, which lead to a garbage DueTime being passed to KeSetTimerEx().

svn path=/trunk/; revision=27377
This commit is contained in:
Aleksey Bragin 2007-07-03 20:38:09 +00:00
parent efb16b636b
commit c2af381a89

View file

@ -206,7 +206,7 @@ NdisMSetPeriodicTimer(
ASSERT(Timer);
/* relative delays are negative, absolute are positive; resolution is 100ns */
Timeout.QuadPart = MillisecondsPeriod * -10000;
Timeout.QuadPart = Int32x32To64(MillisecondsPeriod, -10000);
KeSetTimerEx (&Timer->Timer, Timeout, MillisecondsPeriod, &Timer->Dpc);
}