From 1a8c2fc5969f76999cc067a3065c2942fc675882 Mon Sep 17 00:00:00 2001 From: Matthew Johnson Date: Sun, 22 Mar 2009 16:56:53 +0000 Subject: refresh patches --- debian/patches/20_ipmi_sdr | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 debian/patches/20_ipmi_sdr (limited to 'debian/patches/20_ipmi_sdr') diff --git a/debian/patches/20_ipmi_sdr b/debian/patches/20_ipmi_sdr deleted file mode 100644 index dcb8c23..0000000 --- a/debian/patches/20_ipmi_sdr +++ /dev/null @@ -1,19 +0,0 @@ -## 20_ipmi_sdr.dpatch by Cyril Brulebois -## -## Enable reading temperatures again (Closes: #507760). ---- a/lib/ipmi_sdr.c -+++ b/lib/ipmi_sdr.c -@@ -1122,6 +1122,13 @@ - } else if (IS_SCANNING_DISABLED(rsp->data[1])) { - /* Sensor Scanning Disabled */ - validread = 0; -+ if (rsp->data[0] != 0) { -+ /* we might still get a valid reading */ -+ val = sdr_convert_sensor_reading(sensor, -+ rsp->data[0]); -+ if (val != 0.0) -+ validread = 1; -+ } - } else if (rsp->data[0] != 0) { - /* convert RAW reading into units */ - val = sdr_convert_sensor_reading(sensor, rsp->data[0]); -- cgit v1.2.3