Correct wrong structure member used for MCTP destination EID.

Signed-off-by: Abner Chang <abner.ch...@amd.com>
Signed-off-by: Konstantin Aladyshev <aladyshe...@gmail.com>
---
 .../Universal/PldmProtocol/Common/PldmProtocolCommon.c          | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/Features/ManageabilityPkg/Universal/PldmProtocol/Common/PldmProtocolCommon.c 
b/Features/ManageabilityPkg/Universal/PldmProtocol/Common/PldmProtocolCommon.c
index ce1e2cba95..1c4506d87f 100644
--- 
a/Features/ManageabilityPkg/Universal/PldmProtocol/Common/PldmProtocolCommon.c
+++ 
b/Features/ManageabilityPkg/Universal/PldmProtocol/Common/PldmProtocolCommon.c
@@ -119,7 +119,7 @@ SetupPldmRequestTransportPacket (
     }
 
     MctpHeader->SourceEndpointId             = PcdGet8 
(PcdMctpSourceEndpointId);
-    MctpHeader->SourceEndpointId             = PcdGet8 
(PcdMctpDestinationEndpointId);
+    MctpHeader->DestinationEndpointId        = PcdGet8 
(PcdMctpDestinationEndpointId);
     MctpHeader->MessageHeader.IntegrityCheck = FALSE;
     MctpHeader->MessageHeader.MessageType    = MCTP_MESSAGE_TYPE_PLDM;
     *PacketHeader                            = (MANAGEABILITY_TRANSPORT_HEADER 
*)MctpHeader;
-- 
2.34.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#109855): https://edk2.groups.io/g/devel/message/109855
Mute This Topic: https://groups.io/mt/102080232/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to