summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com>2023-05-31 12:25:45 +0000
committerAndroid Partner Code Review <android-gerrit-partner@google.com>2023-05-31 12:25:45 +0000
commit72ce7d1567a648cd8aa52807a0ca364c79a92630 (patch)
treef851d994886e1e279c3485e0b6de93ef6471acb9
parent3321c740875e2170ce88348938f610d500794040 (diff)
parent7ede2c0931071935657e37d6caa6d3b023c6ecf0 (diff)
downloadsamsung-72ce7d1567a648cd8aa52807a0ca364c79a92630.tar.gz
-rw-r--r--auth13.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/auth13.c b/auth13.c
index f29628a..6bebb21 100644
--- a/auth13.c
+++ b/auth13.c
@@ -72,7 +72,7 @@ static int compare_rprime(void)
ri_retry_cnt++;
usleep_range(RI_DELAY * 1000, RI_DELAY * 1000 + 1);
}
- while (ri_retry_cnt < RI_READ_RETRY_CNT);
+ while (ri_retry_cnt < RI_READ_RETRY_CNT && !is_aborted);
return -EFAULT;
}
@@ -168,7 +168,7 @@ static int proceed_repeater(void)
hdcp_err("Vprime read failed (%d)\n", ret);
v_read_retry_cnt++;
- } while(v_read_retry_cnt < V_READ_RETRY_CNT);
+ } while(v_read_retry_cnt < V_READ_RETRY_CNT && !is_aborted);
hdcp_err("2nd Auth fail!!!\n");
return -EIO;