mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-10 01:21:49 +00:00
g: fix reboot request posting bug
When the host requests the uploader to post a reboot request, the
uploader should exit right away once the request is posted.
BRANCH=none
BUG=chrome-os-partner:59911
TEST=verified that cr50 gets successfully updated from this image to a
newer one on both reef and gru: the reboot happens under upstart
control, not by cr50 rebooting on its own.
Change-Id: I9e4a2da686fe512b633daa05c675871e5946926f
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/412348
Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Reviewed-by: Mary Ruthven <mruthven@chromium.org>
This commit is contained in:
committed by
chrome-bot
parent
e97073a20d
commit
14421571ca
@@ -188,6 +188,7 @@ static void upgrade_out_handler(struct consumer const *consumer, size_t count)
|
||||
*/
|
||||
rx_state_ = rx_idle;
|
||||
post_reboot_request();
|
||||
return;
|
||||
}
|
||||
|
||||
if (rx_state_ == rx_outside_block) {
|
||||
|
||||
Reference in New Issue
Block a user