diff --git a/internal.c b/internal.c index 4f68456d2..9b80f3762 100644 --- a/internal.c +++ b/internal.c @@ -211,6 +211,9 @@ static int internal_init(const struct programmer_cfg *cfg) if (ret) return ret; + /* Unconditionally reset global state from previous operation. */ + laptop_ok = false; + /* Default to Parallel/LPC/FWH flash devices. If a known host controller * is found, the host controller init routine sets the * internal_buses_supported bitfield.