- Fix adapter failure when a network address is not specified in the registry

- As a bonus, it also fixes OID_802_3_PERMANENT_ADDRESS

svn path=/trunk/; revision=41583
This commit is contained in:
Cameron Gutman 2009-06-23 12:41:14 +00:00
parent 0e7c48671b
commit e230289f94

View file

@ -266,9 +266,9 @@ static BOOLEAN NICReadSAPROM(
for (i = 0; i < 16; i++)
Adapter->SAPROM[i] = Buffer[i * 2];
/* Copy the station address */
/* Copy the permanent address */
NdisMoveMemory(
(PVOID)&Adapter->StationAddress,
(PVOID)&Adapter->PermanentAddress,
(PVOID)&Adapter->SAPROM,
DRIVER_LENGTH_OF_ADDRESS);