Reset hub scan variable when OCC goes inactive
Need to re-scan the second processors hub chip on
every boot of the system
Resolves openbmc/openbmc#2161
Change-Id: I089140333462d83f66a0ad207fecb679cba79210
Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
diff --git a/occ_status.cpp b/occ_status.cpp
index 7eafb66..94b8c4c 100644
--- a/occ_status.cpp
+++ b/occ_status.cpp
@@ -42,6 +42,9 @@
// Do the unbind.
device.unBind();
+
+ // Indicate the hub FSI scan needs to be done again
+ hubFsiScanDone = false;
}
}
return Base::Status::occActive(value);