Skip to content

Commit 9f6d6f4

Browse files
committed
aboot: fastboot reboot-{recovery,fastboot} should reboot into recovery
1 parent 334417a commit 9f6d6f4

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
@@ -4816,7 +4816,7 @@ void cmd_reboot_fastboot(const char *arg, void *data, unsigned sz)
48164816
return;
48174817
}
48184818
fastboot_okay("");
4819-
reboot_device(REBOOT_MODE_UNKNOWN);
4819+
reboot_device(RECOVERY_MODE);
48204820

48214821
//shouldn't come here.
48224822
dprintf(CRITICAL, "ERROR: Failed to reboot device\n");
@@ -4832,7 +4832,7 @@ void cmd_reboot_recovery(const char *arg, void *data, unsigned sz)
48324832
return;
48334833
}
48344834
fastboot_okay("");
4835-
reboot_device(REBOOT_MODE_UNKNOWN);
4835+
reboot_device(RECOVERY_MODE);
48364836

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

0 commit comments

Comments
 (0)