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

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