fix(tsp): fix destination ID in direct request

Ensure the TSP ID is set as the source ID in a direct request.

Signed-off-by: Marc Bonnici <marc.bonnici@arm.com>
Change-Id: Ia082fe5a1da6f2994072ec70c6ba818212a52f20
This commit is contained in:
Marc Bonnici 2022-11-15 11:21:59 +00:00
parent c040621dba
commit ed23d274fa

View File

@ -91,7 +91,7 @@ static int ffa_test_relay(uint64_t arg0,
smc_args_t ffa_forward_result;
ffa_endpoint_id16_t receiver = arg5;
ffa_forward_result = ffa_msg_send_direct_req(ffa_endpoint_source(arg1),
ffa_forward_result = ffa_msg_send_direct_req(tsp_id,
receiver,
FF_A_ECHO_MESSAGE, arg4,
0, 0, 0);