Skip to content

Commit

Permalink
libqcomtee: fix wrong param attribute
Browse files Browse the repository at this point in the history
It is set incorrectly when marshaling in callback request.

Signed-off-by: Amirreza Zarrabi <[email protected]>
  • Loading branch information
qc-azarrabi committed Jan 22, 2025
1 parent 927a3ac commit 9ff43d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libqcomtee/src/qcomtee_object.c
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@ static int qcomtee_object_cb_marshal_in(struct qcomtee_param *params,
break;

case TEE_IOCTL_PARAM_ATTR_TYPE_OBJREF_OUTPUT:
params[i].attr = QCOMTEE_OBJREF_INPUT;
params[i].attr = QCOMTEE_OBJREF_OUTPUT;

break;
default: /* NEVER GET HERE! */
Expand Down

0 comments on commit 9ff43d0

Please sign in to comment.