Skip to content

Commit e54657c

Browse files
committed
aboot: fastboot reboot-{recovery,fastboot} should reboot into recovery
1 parent 2de9598 commit e54657c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/aboot/aboot.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4823,7 +4823,7 @@ void cmd_reboot_fastboot(const char *arg, void *data, unsigned sz)
48234823
return;
48244824
}
48254825
fastboot_okay("");
4826-
reboot_device(REBOOT_MODE_UNKNOWN);
4826+
reboot_device(RECOVERY_MODE);
48274827

48284828
//shouldn't come here.
48294829
dprintf(CRITICAL, "ERROR: Failed to reboot device\n");
@@ -4839,7 +4839,7 @@ void cmd_reboot_recovery(const char *arg, void *data, unsigned sz)
48394839
return;
48404840
}
48414841
fastboot_okay("");
4842-
reboot_device(REBOOT_MODE_UNKNOWN);
4842+
reboot_device(RECOVERY_MODE);
48434843

48444844
//shouldn't come here.
48454845
dprintf(CRITICAL, "ERROR: Failed to reboot device\n");

0 commit comments

Comments
 (0)