[PATCH phosphor-host-ipmid v2 02/20] Set response bit returning from the ipmi call

OpenBMC Patches patches at stwcx.xyz
Wed Oct 21 23:48:03 AEDT 2015


From: Chris Austen <austenc at us.ibm.com>

---
 ipmid.C | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ipmid.C b/ipmid.C
index 10422e1..3b136d0 100644
--- a/ipmid.C
+++ b/ipmid.C
@@ -181,8 +181,8 @@ static int send_ipmi_message(unsigned char seq, unsigned char netfn, unsigned ch
     }
 
 
-    // Needed to see what we get back from the handlers.
-    data_len = msg_length;
+    // Responses in IPMI require a bit set.  So there ya go...
+    netfn |= 0x04;
 
 
     // Add the bytes needed for the methods to be called
-- 
2.6.0




More information about the openbmc mailing list