diff options
author | Tom Cherry <tomcherry@google.com> | 2018-08-29 21:36:28 -0700 |
---|---|---|
committer | Tom Cherry <tomcherry@google.com> | 2018-09-05 14:28:47 -0700 |
commit | 11f12099cc0722abd5002b455df21621f511023f (patch) | |
tree | 58b6b42722ce5fa632d877b383131c2a0592d0ca /fastboot/fastboot_driver.cpp | |
parent | 484f72abbfe390a2017182b101e16f7eb63a2271 (diff) |
fastboot: remove command queue
There is little advantage and increasingly much disadvantage to
queueing up fastboot commands before executing them. This change
removes the queue in the most simple way possible to enable further
clean up.
Test: fastboot works
Change-Id: I9abab05df07ed167dbe6a42e1eb9eab8f8d4f157
Diffstat (limited to 'fastboot/fastboot_driver.cpp')
-rw-r--r-- | fastboot/fastboot_driver.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fastboot/fastboot_driver.cpp b/fastboot/fastboot_driver.cpp index f9e640ab3..4a14131a7 100644 --- a/fastboot/fastboot_driver.cpp +++ b/fastboot/fastboot_driver.cpp @@ -97,9 +97,9 @@ RetCode FastBootDriver::RebootTo(std::string target, std::string* response, return RawCommand("reboot-" + target, response, info); } -RetCode FastBootDriver::SetActive(const std::string& part, std::string* response, +RetCode FastBootDriver::SetActive(const std::string& slot, std::string* response, std::vector<std::string>* info) { - return RawCommand(Commands::SET_ACTIVE + part, response, info); + return RawCommand(Commands::SET_ACTIVE + slot, response, info); } RetCode FastBootDriver::FlashPartition(const std::string& part, const std::vector<char>& data) { |