There's a difference between a handle and an object... Sorry about this

svn path=/trunk/; revision=20320
This commit is contained in:
Gé van Geldorp 2005-12-24 09:33:35 +00:00
parent c5454d2a4b
commit d22675a805

View file

@ -419,9 +419,8 @@ NTSTATUS TCPShutdown(VOID)
return STATUS_SUCCESS; return STATUS_SUCCESS;
WaitForThread.QuadPart = -2500000; /* 250 ms */ WaitForThread.QuadPart = -2500000; /* 250 ms */
KeSetEvent(&TimerLoopEvent, IO_NO_INCREMENT, TRUE); KeSetEvent(&TimerLoopEvent, IO_NO_INCREMENT, FALSE);
KeWaitForSingleObject(&TimerThreadHandle, Executive, KernelMode, ZwWaitForSingleObject(TimerThreadHandle, FALSE, &WaitForThread);
FALSE, &WaitForThread);
/* Deregister this protocol with IP layer */ /* Deregister this protocol with IP layer */
IPRegisterProtocol(IPPROTO_TCP, NULL); IPRegisterProtocol(IPPROTO_TCP, NULL);