bmc: firmware updateStarted: commit(session)
Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: Ibd69760ba6383fa64b8be328eaa0f6fafcafb791
diff --git a/firmware_handler.cpp b/firmware_handler.cpp
index f648d42..d446f66 100644
--- a/firmware_handler.cpp
+++ b/firmware_handler.cpp
@@ -597,6 +597,9 @@
case UpdateState::updatePending:
item->second->flags |= blobs::StateFlags::committing;
return triggerUpdate();
+ case UpdateState::updateStarted:
+ /* Calling repeatedly has no effect within an update process. */
+ return true;
default:
return false;
}