From e8f114d5ed4569980b52564ed1446da9f846a254 Mon Sep 17 00:00:00 2001 From: "Qi, Yadong" Date: Thu, 4 Jun 2020 09:17:47 +0800 Subject: [PATCH] [Do NOT merge]remove reboot trail times Signed-off-by: Qi, Yadong --- 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 bf6eab15..ad72474a 100644 --- a/avb/libavb_ab/avb_ab_flow.c +++ b/avb/libavb_ab/avb_ab_flow.c @@ -372,7 +372,7 @@ AvbABFlowResult avb_ab_flow(AvbABOps* ab_ops, /* ... and decrement tries remaining, if applicable. */ if (!ab_data.slots[slot_index_to_boot].successful_boot && ab_data.slots[slot_index_to_boot].tries_remaining > 0) { - ab_data.slots[slot_index_to_boot].tries_remaining -= 1; + //ab_data.slots[slot_index_to_boot].tries_remaining -= 1; } out: