Skip to content

Commit 23a12f5

Browse files
committed
aboot: fastboot reboot-{recovery,fastboot} should reboot into recovery
1 parent d1fc185 commit 23a12f5

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

48184818
//shouldn't come here.
48194819
dprintf(CRITICAL, "ERROR: Failed to reboot device\n");
@@ -4829,7 +4829,7 @@ void cmd_reboot_recovery(const char *arg, void *data, unsigned sz)
48294829
return;
48304830
}
48314831
fastboot_okay("");
4832-
reboot_device(REBOOT_MODE_UNKNOWN);
4832+
reboot_device(RECOVERY_MODE);
48334833

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

0 commit comments

Comments
 (0)