Make NdisMRegisterMiniport() say (MIN_TRACE) about failure of a call to driver's MiniportInitialize() instead of silently passing unsuccess to driver.

svn path=/trunk/; revision=5120
This commit is contained in:
Aleksey Bragin 2003-07-14 18:55:11 +00:00
parent 4f2e726bb3
commit 9789c326b0

View file

@ -1176,6 +1176,7 @@ NdisMRegisterMiniport(
IoDeleteDevice(Adapter->NdisMiniportBlock.DeviceObject);
ExFreePool(Adapter);
NDIS_DbgPrint(MIN_TRACE, ("MiniportInitialize() failed.\n"));
return NDIS_STATUS_FAILURE;
}