diff --git a/firmware/lib/vboot_api_kernel.c b/firmware/lib/vboot_api_kernel.c index 5ef78027ee..6715e86f46 100644 --- a/firmware/lib/vboot_api_kernel.c +++ b/firmware/lib/vboot_api_kernel.c @@ -201,7 +201,7 @@ VbError_t VbBootRecovery(VbCommonParams* cparams, LoadKernelParams* p) { /* If the dev-mode switch is off and the user didn't press the recovery * button, require removal of all external media. */ if (!(shared->flags & VBSD_BOOT_DEV_SWITCH_ON) && - (VBNV_RECOVERY_RO_MANUAL != shared->recovery_reason)) { + !(shared->flags & VBSD_BOOT_REC_SWITCH_ON)) { VbDiskInfo* disk_info = NULL; uint32_t disk_count = 0;