From: Abner Chang <[email protected]>

MAC address reference is incorrect when it is
copied to Host Interface DeviceDescriptor.

Signed-off-by: Abner Chang <[email protected]>
Cc: Nickle Wang <[email protected]>
Cc: Igor Kulchytskyy <[email protected]>
Cc: Mike Maslenkin <[email protected]>
---
 .../PlatformHostInterfaceBmcUsbNicLib.c                         | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/RedfishPkg/Library/PlatformHostInterfaceBmcUsbNicLib/PlatformHostInterfaceBmcUsbNicLib.c
 
b/RedfishPkg/Library/PlatformHostInterfaceBmcUsbNicLib/PlatformHostInterfaceBmcUsbNicLib.c
index e5bf70cfd58..c4a71226e63 100644
--- 
a/RedfishPkg/Library/PlatformHostInterfaceBmcUsbNicLib/PlatformHostInterfaceBmcUsbNicLib.c
+++ 
b/RedfishPkg/Library/PlatformHostInterfaceBmcUsbNicLib/PlatformHostInterfaceBmcUsbNicLib.c
@@ -120,7 +120,7 @@ RedfishPlatformHostInterfaceDeviceDescriptor (
       InterfaceData->DeviceDescriptor.UsbDeviceV2.SerialNumberStr = 0;
       CopyMem (
         (VOID *)&InterfaceData->DeviceDescriptor.UsbDeviceV2.MacAddress,
-        (VOID *)&ThisInstance->MacAddress,
+        (VOID *)ThisInstance->MacAddress,
         sizeof (InterfaceData->DeviceDescriptor.UsbDeviceV2.MacAddress)
         );
       InterfaceData->DeviceDescriptor.UsbDeviceV2.Characteristics              
|= (UINT16)ThisInstance->CredentialBootstrapping;
-- 
2.37.1.windows.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#111660): https://edk2.groups.io/g/devel/message/111660
Mute This Topic: https://groups.io/mt/102763122/21656
Group Owner: [email protected]
Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to