mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
- We must check that NdisWrapperHandle is non-NULL to see if NdisMInitializeWrapper succeeded
svn path=/branches/aicom-network-fixes/; revision=36430
This commit is contained in:
parent
521d849d25
commit
274d2f50e8
1 changed files with 5 additions and 0 deletions
|
@ -939,6 +939,11 @@ DriverEntry(
|
|||
RegistryPath,
|
||||
NULL);
|
||||
|
||||
if (!NdisWrapperHandle) {
|
||||
NDIS_DbgPrint(MIN_TRACE, ("NdisMInitializeWrapper() failed\n"));
|
||||
return STATUS_UNSUCCESSFUL;
|
||||
}
|
||||
|
||||
DriverInfo.NdisWrapperHandle = NdisWrapperHandle;
|
||||
DriverInfo.NdisMacHandle = NULL;
|
||||
InitializeListHead(&DriverInfo.AdapterListHead);
|
||||
|
|
Loading…
Reference in a new issue