Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 883ffe5b authored by Ajay Singh Parmar's avatar Ajay Singh Parmar
Browse files

misc: hdcp: fix resetting repeater flag



Reset the repeater flag on every hdcp command execution
to avoid using obsolete repeater status.

CRs-Fixed: 2350350
Change-Id: Ie08329d58bba6bc69b2f47a6d86d617b0adab0f1
Signed-off-by: default avatarAjay Singh Parmar <aparmar@codeaurora.org>
parent 2b01ab76
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1101,6 +1101,8 @@ static int hdcp2_app_process_msg(struct hdcp2_handle *handle)
	/* check if it's a repeater */
	if (rsp_buf->flag == HDCP_TXMTR_SUBSTATE_WAITING_FOR_RECIEVERID_LIST)
		handle->app_data.repeater_flag = true;
	else
		handle->app_data.repeater_flag = false;

	handle->app_data.response.data = rsp_buf->msg;
	handle->app_data.response.length = rsp_buf->msglen;