mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-08 17:05:09 +02:00
RedfishPkg/HostInterfaceBmcUsbNic: Correct MAC address reference
MAC address reference is incorrect when it is copied to Host Interface DeviceDescriptor. Signed-off-by: Abner Chang <abner.chang@amd.com> Cc: Nickle Wang <nicklew@nvidia.com> Cc: Igor Kulchytskyy <igork@ami.com> Cc: Mike Maslenkin <mike.maslenkin@gmail.com> Reviewed-by: Nickle Wang <nicklew@nvidia.com> Acked-by: Mike Maslenkin <mike.maslenkin@gmail.com>
This commit is contained in:
parent
cfafa45002
commit
cf31257ec9
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user