- Fix adapter failure when a network address is not specified in the registry
authorCameron Gutman <aicommander@gmail.com>
Tue, 23 Jun 2009 12:41:14 +0000 (12:41 +0000)
committerCameron Gutman <aicommander@gmail.com>
Tue, 23 Jun 2009 12:41:14 +0000 (12:41 +0000)
 - As a bonus, it also fixes OID_802_3_PERMANENT_ADDRESS

svn path=/trunk/; revision=41583

reactos/drivers/network/dd/ne2000/ne2000/8390.c

index 0461305..4a3a409 100644 (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);