ipmbsensor: resend init command every boot
This stops the ipmi response from being na after
ipmitool power cycle.
Tested-by: Power cycled 5 times and sensors never
went to na
Change-Id: Ida6ac397805b9eb47025e0227e2d15fcc26bb045
Signed-off-by: James Feist <james.feist@linux.intel.com>
diff --git a/include/IpmbSensor.hpp b/include/IpmbSensor.hpp
index b6bfa32..1775c13 100644
--- a/include/IpmbSensor.hpp
+++ b/include/IpmbSensor.hpp
@@ -29,6 +29,7 @@
void read(void);
void init(void);
void loadDefaults(void);
+ void runInitCmd(void);
IpmbType type;
uint8_t commandAddress;