- Fix NdisMSynchronizeWithInterrupt.

svn path=/trunk/; revision=11310
This commit is contained in:
Filip Navara 2004-10-17 10:15:07 +00:00
parent 6815a62066
commit fdfdfbe2d2

View file

@ -167,7 +167,7 @@ MiniIndicateData(
* subsequently re-acquire the lock. * subsequently re-acquire the lock.
* *
* I don't see how this does any good, as it would seem he's just * I don't see how this does any good, as it would seem he's just
* trying to protect the packet list. If someobdy else dequeues * trying to protect the packet list. If somebody else dequeues
* a packet, we are in fact in bad shape, but we don't want to * a packet, we are in fact in bad shape, but we don't want to
* necessarily call the receive handler at elevated irql either. * necessarily call the receive handler at elevated irql either.
* *
@ -1901,7 +1901,7 @@ NdisMSynchronizeWithInterrupt(
IN PVOID SynchronizeFunction, IN PVOID SynchronizeFunction,
IN PVOID SynchronizeContext) IN PVOID SynchronizeContext)
{ {
return(KeSynchronizeExecution((PKINTERRUPT)Interrupt, return(KeSynchronizeExecution(Interrupt->InterruptObject,
(PKSYNCHRONIZE_ROUTINE)SynchronizeFunction, (PKSYNCHRONIZE_ROUTINE)SynchronizeFunction,
SynchronizeContext)); SynchronizeContext));
} }