[pkg-wpa-devel] r1141 - in /wpasupplicant/trunk/debian: changelog patches/10_silence_siocsiwauth_icotl_failure.patch patches/series
kelmo-guest at users.alioth.debian.org
kelmo-guest at users.alioth.debian.org
Sat Feb 23 04:07:41 UTC 2008
Author: kelmo-guest
Date: Sat Feb 23 04:07:41 2008
New Revision: 1141
URL: http://svn.debian.org/wsvn/pkg-wpa/?sc=1&rev=1141
Log:
* Add debian/patches/10_silence_siocsiwauth_icotl_failure.patch to disable
ioctl failure messages that occur under normal conditions.
Added:
wpasupplicant/trunk/debian/patches/10_silence_siocsiwauth_icotl_failure.patch
Modified:
wpasupplicant/trunk/debian/changelog
wpasupplicant/trunk/debian/patches/series
Modified: wpasupplicant/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-wpa/wpasupplicant/trunk/debian/changelog?rev=1141&op=diff
==============================================================================
--- wpasupplicant/trunk/debian/changelog (original)
+++ wpasupplicant/trunk/debian/changelog Sat Feb 23 04:07:41 2008
@@ -17,8 +17,10 @@
* wpasupplicant binary package no longer suggests pcscd, guessnet, iproute
or wireless-tools, nor does it recommend dhcp3-client. These are not
needed.
-
- -- Kel Modderman <kel at otaku42.de> Sat, 23 Feb 2008 13:47:02 +1000
+ * Add debian/patches/10_silence_siocsiwauth_icotl_failure.patch to disable
+ ioctl failure messages that occur under normal conditions.
+
+ -- Kel Modderman <kel at otaku42.de> Sat, 23 Feb 2008 14:06:17 +1000
wpasupplicant (0.6.2+git20080206.g8c0dad4-1) unstable; urgency=low
Added: wpasupplicant/trunk/debian/patches/10_silence_siocsiwauth_icotl_failure.patch
URL: http://svn.debian.org/wsvn/pkg-wpa/wpasupplicant/trunk/debian/patches/10_silence_siocsiwauth_icotl_failure.patch?rev=1141&op=file
==============================================================================
--- wpasupplicant/trunk/debian/patches/10_silence_siocsiwauth_icotl_failure.patch (added)
+++ wpasupplicant/trunk/debian/patches/10_silence_siocsiwauth_icotl_failure.patch Sat Feb 23 04:07:41 2008
@@ -1,0 +1,29 @@
+From: Jouni Malinen <j at w1.fi>
+Date: Sat, 23 Feb 2008 03:36:47 +0000 (-0800)
+Subject: Silence SIOCSIWAUTH ioctl failure message.
+X-Git-Url: http://w1.fi/gitweb/gitweb.cgi?p=hostap.git;a=commitdiff_plain;h=8933ee9a42ae3ddba77a8ae6707396a4fed37778
+
+Silence SIOCSIWAUTH ioctl failure message.
+
+These are expected in most cases and there is no need to confuse users
+with the messages in stderr (perror was used here). These are now only
+shown in debug output and EOPNOTSUPP errors are silently ignored.
+---
+
+--- a/src/drivers/driver_wext.c
++++ b/src/drivers/driver_wext.c
+@@ -251,9 +251,11 @@
+ iwr.u.param.value = value;
+
+ if (ioctl(drv->ioctl_sock, SIOCSIWAUTH, &iwr) < 0) {
+- perror("ioctl[SIOCSIWAUTH]");
+- fprintf(stderr, "WEXT auth param %d value 0x%x - ",
+- idx, value);
++ if (errno != EOPNOTSUPP) {
++ wpa_printf(MSG_DEBUG, "WEXT: SIOCSIWAUTH(param %d "
++ "value 0x%x) failed: %s)",
++ idx, value, strerror(errno));
++ }
+ ret = errno == EOPNOTSUPP ? -2 : -1;
+ }
+
Modified: wpasupplicant/trunk/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-wpa/wpasupplicant/trunk/debian/patches/series?rev=1141&op=diff
==============================================================================
--- wpasupplicant/trunk/debian/patches/series (original)
+++ wpasupplicant/trunk/debian/patches/series Sat Feb 23 04:07:41 2008
@@ -3,4 +3,5 @@
03_dbus_service_activation_logfile.patch
04_append_mmd_to_default_cflags.patch
05_qmake_version_makefile.patch
+10_silence_siocsiwauth_icotl_failure.patch
41_manpage_format_fixes.patch
More information about the Pkg-wpa-devel
mailing list