Blame SOURCES/0009-ipmitool-1.8.11-bz1126333-slowswid.patch.patch

4e2c59
From 850661bd57c0c98c319fd30d9e9697c1667ad457 Mon Sep 17 00:00:00 2001
4e2c59
From: Boris Ranto <branto@redhat.com>
4e2c59
Date: Wed, 11 Nov 2015 17:58:43 +0100
4e2c59
Subject: [PATCH 09/11] ipmitool-1.8.11-bz1126333-slowswid.patch
4e2c59
4e2c59
See rhbz#1194420 for details.
4e2c59
4e2c59
Backported by: aledvink
4e2c59
---
4e2c59
 lib/ipmi_sdr.c | 2 ++
4e2c59
 1 file changed, 2 insertions(+)
4e2c59
4e2c59
diff --git a/lib/ipmi_sdr.c b/lib/ipmi_sdr.c
4e2c59
index fa7b082..9bc5ac2 100644
4e2c59
--- a/lib/ipmi_sdr.c
4e2c59
+++ b/lib/ipmi_sdr.c
4e2c59
@@ -572,6 +572,8 @@ ipmi_sdr_get_sensor_reading_ipmb(struct ipmi_intf *intf, uint8_t sensor,
4e2c59
 	uint32_t save_addr;
4e2c59
 	uint32_t save_channel;
4e2c59
 
931fb8
+	if (target == (uint8_t) 0xb1)
4e2c59
+		return ipmi_sdr_get_sensor_reading(intf, sensor);
4e2c59
 	if ( BRIDGE_TO_SENSOR(intf, target, channel) ) {
4e2c59
 		lprintf(LOG_DEBUG,
4e2c59
 			"Bridge to Sensor "
4e2c59
-- 
4e2c59
2.1.0
4e2c59