- Discover adapters synchronously again until a bug (possibly a race condition) is fixed
- DHCP failure in certain situations is fixed now
svn path=/trunk/; revision=47899
}
HANDLE StartAdapterDiscovery(VOID) {
- HANDLE ThreadHandle, EventHandle;
+ HANDLE /* ThreadHandle, */ EventHandle;
EventHandle = CreateEvent(NULL,
FALSE,
FALSE,
NULL);
+#if 0
ThreadHandle = CreateThread(NULL,
0,
AdapterDiscoveryThread,
return NULL;
CloseHandle(ThreadHandle);
+#else
+ AdapterDiscoveryThread((LPVOID)EventHandle);
+#endif
return EventHandle;
}