Change timeout from 1s to 5s; w1 driver takes ~3s per sensor to read.
Timeouts over IPMI are recommended to be 5 seconds, per the IPMI spec
(p. 64). The 1-wire temperature sensor driver used by Zaius takes >1s
to respond, so IPMI is unusable for us with the timeout set at 1s.
Change-Id: I7dd1028924079caac4a01d96998a331c9e41f563
Signed-off-by: Emily Shaffer <emilyshaffer@google.com>
diff --git a/btbridged.c b/btbridged.c
index 024c798..4961c1f 100644
--- a/btbridged.c
+++ b/btbridged.c
@@ -40,7 +40,7 @@
#define PREFIX "BTBRIDGED"
#define BT_BMC_PATH bt_bmc_device
-#define BT_BMC_TIMEOUT_SEC 1
+#define BT_BMC_TIMEOUT_SEC 5
#define BT_MAX_MESSAGE 64
#define DBUS_NAME "org.openbmc.HostIpmi"