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

Commit d58d2515 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "hdcp_qseecom: Maintain repeater_flag appropriately"

parents 99a8045e c13c06fa
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1015,6 +1015,7 @@ static int hdcp2_app_start_auth(struct hdcp2_handle *handle)
	handle->app_data.response.data = rsp_buf->message;
	handle->app_data.response.length = rsp_buf->msglen;
	handle->app_data.timeout = rsp_buf->timeout;
	handle->app_data.repeater_flag = false;

	handle->tz_ctxhandle = rsp_buf->ctxhandle;

@@ -1090,8 +1091,6 @@ 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;