Author: cgutman
Date: Tue Jun 23 18:00:49 2009
New Revision: 41586
URL:
http://svn.reactos.org/svn/reactos?rev=41586&view=rev
Log:
- Fix adapter failure if a network address of invalid length is specified
Modified:
trunk/reactos/drivers/network/dd/ne2000/ne2000/main.c
Modified: trunk/reactos/drivers/network/dd/ne2000/ne2000/main.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/dd/ne2000/…
==============================================================================
--- trunk/reactos/drivers/network/dd/ne2000/ne2000/main.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/dd/ne2000/ne2000/main.c [iso-8859-1] Tue Jun 23 18:00:49
2009
@@ -373,7 +373,7 @@
NdisCloseConfiguration(ConfigurationHandle);
}
- if (Status != NDIS_STATUS_SUCCESS)
+ if (Status != NDIS_STATUS_SUCCESS || RegNetworkAddressLength !=
DRIVER_LENGTH_OF_ADDRESS)
{
int i;
for (i = 0; i < DRIVER_LENGTH_OF_ADDRESS; i++)