mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
- 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:
parent
0e7c48671b
commit
e230289f94
1 changed files with 2 additions and 2 deletions
|
@ -266,9 +266,9 @@ static BOOLEAN NICReadSAPROM(
|
||||||
for (i = 0; i < 16; i++)
|
for (i = 0; i < 16; i++)
|
||||||
Adapter->SAPROM[i] = Buffer[i * 2];
|
Adapter->SAPROM[i] = Buffer[i * 2];
|
||||||
|
|
||||||
/* Copy the station address */
|
/* Copy the permanent address */
|
||||||
NdisMoveMemory(
|
NdisMoveMemory(
|
||||||
(PVOID)&Adapter->StationAddress,
|
(PVOID)&Adapter->PermanentAddress,
|
||||||
(PVOID)&Adapter->SAPROM,
|
(PVOID)&Adapter->SAPROM,
|
||||||
DRIVER_LENGTH_OF_ADDRESS);
|
DRIVER_LENGTH_OF_ADDRESS);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue