mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-30 19:26:05 +00:00
[RTL8139]
- Fix PCH in CMake file - Fix broken failure path in MiniportInitialize svn path=/trunk/; revision=59428
This commit is contained in:
@@ -12,7 +12,7 @@ list(APPEND SOURCE
|
||||
rtl8139.rc)
|
||||
|
||||
add_library(rtl8139 SHARED ${SOURCE})
|
||||
add_pch(rtl8139 pcnet.h)
|
||||
add_pch(rtl8139 nic.h)
|
||||
set_module_type(rtl8139 kernelmodedriver)
|
||||
add_importlibs(rtl8139 ndis ntoskrnl hal)
|
||||
add_cd_file(TARGET rtl8139 DESTINATION reactos/system32/drivers FOR all)
|
||||
|
||||
@@ -356,6 +356,7 @@ MiniportInitialize (
|
||||
if (adapter->ReceiveBuffer == NULL)
|
||||
{
|
||||
NDIS_DbgPrint(MIN_TRACE, ("Unable to allocate receive buffer\n"));
|
||||
status = NDIS_STATUS_RESOURCES;
|
||||
goto Cleanup;
|
||||
}
|
||||
|
||||
@@ -367,6 +368,7 @@ MiniportInitialize (
|
||||
if (adapter->RuntTxBuffers == NULL)
|
||||
{
|
||||
NDIS_DbgPrint(MIN_TRACE, ("Unable to allocate runt TX buffer\n"));
|
||||
status = NDIS_STATUS_RESOURCES;
|
||||
goto Cleanup;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user