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

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