From 56d2301939d79d4260dfe6a9cbbabfeb86bde8c5 Mon Sep 17 00:00:00 2001 From: Chen Gang G Date: Thu, 18 Mar 2021 20:44:57 +0800 Subject: [PATCH] [test only] remove retry limitation Signed-off-by: Chen Gang G --- avb/libavb_ab/avb_ab_flow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/avb/libavb_ab/avb_ab_flow.c b/avb/libavb_ab/avb_ab_flow.c index ec5ef392..9207aa1f 100644 --- a/avb/libavb_ab/avb_ab_flow.c +++ b/avb/libavb_ab/avb_ab_flow.c @@ -367,7 +367,7 @@ AvbABFlowResult avb_ab_flow(AvbABOps* ab_ops, /* ... and decrement tries remaining, if applicable. */ if (!ab_data.slot_info[slot_index_to_boot].successful_boot && ab_data.slot_info[slot_index_to_boot].tries_remaining > 0) { - ab_data.slot_info[slot_index_to_boot].tries_remaining -= 1; + // ab_data.slot_info[slot_index_to_boot].tries_remaining -= 1; } out: