[gkrellm-wifi/f14/master] - Don't flood the log with errors when a cards driver won't allow us to do SIOCGIWRANGE (rhbz#6503
Hans de Goede
jwrdegoede at fedoraproject.org
Sun Nov 7 16:25:36 UTC 2010
commit 6f88965b921f7fb36bc44da92e3268d8839d9f20
Author: Hans de Goede <hdegoede at redhat.com>
Date: Sun Nov 7 17:25:22 2010 +0100
- Don't flood the log with errors when a cards driver won't allow us to
do SIOCGIWRANGE (rhbz#650345)
gkrellm-wifi-0.9.12-bz650345.patch | 16 ++++++++++++++++
gkrellm-wifi.spec | 8 +++++++-
2 files changed, 23 insertions(+), 1 deletions(-)
---
diff --git a/gkrellm-wifi-0.9.12-bz650345.patch b/gkrellm-wifi-0.9.12-bz650345.patch
new file mode 100644
index 0000000..9e8c0ea
--- /dev/null
+++ b/gkrellm-wifi-0.9.12-bz650345.patch
@@ -0,0 +1,16 @@
+diff -up gkrellm-wifi-0.9.12/gkrellm-wifi-linux.c~ gkrellm-wifi-0.9.12/gkrellm-wifi-linux.c
+--- gkrellm-wifi-0.9.12/gkrellm-wifi-linux.c~ 2010-11-07 16:52:51.000000000 +0100
++++ gkrellm-wifi-0.9.12/gkrellm-wifi-linux.c 2010-11-07 17:21:01.195851005 +0100
+@@ -321,8 +321,10 @@ get_quality_max (const gchar *interface)
+ }
+ else
+ {
+- g_message (_("Could not get range for %s: %s"),
+- interface, g_strerror (errno));
++ /* HDG some cards just do not support this, don't flood the log with
++ errors */
++ /* g_message (_("Could not get range for %s: %s"),
++ interface, g_strerror (errno)); */
+
+ ret = DEFAULT_QUALITY_MAX;
+ }
diff --git a/gkrellm-wifi.spec b/gkrellm-wifi.spec
index 129d2a9..07932d2 100644
--- a/gkrellm-wifi.spec
+++ b/gkrellm-wifi.spec
@@ -1,6 +1,6 @@
Name: gkrellm-wifi
Version: 0.9.12
-Release: 10%{?dist}
+Release: 11%{?dist}
Summary: Wireless monitor plugin for the GNU Krell Monitors
Group: Applications/System
License: GPLv2+
@@ -10,6 +10,7 @@ Source0: %{name}-%{version}.tar.gz
Patch0: %{name}-%{version}.patch
Patch1: gkrellm-wifi-0.9.12-asm_h.patch
Patch2: gkrellm-wifi-0.9.12-kernel-2.6.26.patch
+Patch3: gkrellm-wifi-0.9.12-bz650345.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gkrellm-devel
Requires: gkrellm >= 2.2, gkrellm < 3
@@ -30,6 +31,7 @@ your PC and displays a graph of the link quality percentage for each card.
%patch0 -p1
%patch1 -p1 -z .asm_h
%patch2 -p1
+%patch3 -p1
%build
@@ -54,6 +56,10 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Sun Nov 7 2010 Hans de Goede <hdegoede at redhat.com> - 0.9.12-11
+- Don't flood the log with errors when a cards driver won't allow us to
+ do SIOCGIWRANGE (rhbz#650345)
+
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.9.12-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
More information about the scm-commits
mailing list