commit | cc1b52c5837f783af4b0fa5e4cc91c61f80ce59c | [log] [tgz] |
---|---|---|
author | Ameya Thakur <ameyat@codeaurora.org> | Tue May 03 17:57:23 2016 -0700 |
committer | Ameya Thakur <ameyat@codeaurora.org> | Tue May 03 18:39:37 2016 -0700 |
tree | cdb017eb35306e66448b23f09d6b887611aebf5c | |
parent | 369d68330bab4ee7ed80f94722e481adb1dd218a [diff] |
bootcontrol: Update a check in set_active_boot_slot set_active_boot_slot used to call into get_current_slot and assumed it would get the currently active slot. get_current_slot has been updated to return the slot number from which we currently booted instead of it's earlier implementation which was to return the active slot. We now have a new function to return the current active slot which set_active_boot_slot calls. Change-Id: I191bb7c7f49ff75b972efb4a65e9bc9872c6e3d8