diff --git a/internal.c b/internal.c index 8c834e2c5..85512f4f3 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.