This commit is contained in:
parent
bcd85f9d71
commit
abfb8878f4
17
wpa_supplicant-errormsg.patch
Normal file
17
wpa_supplicant-errormsg.patch
Normal file
@ -0,0 +1,17 @@
|
||||
--- driver_wext.c
|
||||
+++ driver_wext.c
|
||||
@@ -154,10 +154,12 @@ static int wpa_driver_wext_set_auth_para
|
||||
iwr.u.param.value = value;
|
||||
|
||||
if (ioctl(drv->ioctl_sock, SIOCSIWAUTH, &iwr) < 0) {
|
||||
- perror("ioctl[SIOCSIWAUTH]");
|
||||
+ int saved_errno = errno;
|
||||
fprintf(stderr, "WEXT auth param %d value 0x%x - ",
|
||||
idx, value);
|
||||
- ret = errno == EOPNOTSUPP ? -2 : -1;
|
||||
+ errno = saved_errno;
|
||||
+ perror("ioctl[SIOCSIWAUTH]");
|
||||
+ ret = saved_errno == EOPNOTSUPP ? -2 : -1;
|
||||
}
|
||||
|
||||
return ret;
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon May 5 09:52:45 CEST 2008 - schwab@suse.de
|
||||
|
||||
- Fix mangled error message.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 17 15:06:14 CET 2008 - hschaa@suse.de
|
||||
|
||||
|
@ -18,7 +18,7 @@ BuildRequires: madwifi-devel
|
||||
%endif
|
||||
Url: http://hostap.epitest.fi/wpa_supplicant/
|
||||
Version: 0.5.10
|
||||
Release: 5
|
||||
Release: 26
|
||||
License: BSD 3-Clause; GPL v2 or later
|
||||
Group: Productivity/Networking/Other
|
||||
Summary: WPA supplicant implementation
|
||||
@ -32,6 +32,7 @@ Patch3: wpa_supplicant-fix-deprecated-dbus-function.patch
|
||||
Patch5: wpa_supplicant-flush-debug-output.patch
|
||||
Patch6: wpa_supplicant-sigusr1-changes-debuglevel.patch
|
||||
Patch8: wpa_supplicant-dbus-iface-segfault-fix.patch
|
||||
Patch9: wpa_supplicant-errormsg.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@ -47,6 +48,7 @@ Authors:
|
||||
Jouni Malinen <jkmaline@cc.hut.fi>
|
||||
|
||||
%package gui
|
||||
License: BSD 3-Clause; GPL v2 or later
|
||||
Summary: WPA supplicant graphical front-end
|
||||
Requires: wpa_supplicant
|
||||
Group: System/Monitoring
|
||||
@ -70,6 +72,7 @@ cp %{SOURCE1} .config
|
||||
%patch5 -p1
|
||||
%patch6 -p1
|
||||
%patch8 -p1
|
||||
%patch9
|
||||
|
||||
%build
|
||||
%ifarch %ix86 x86_64
|
||||
@ -117,6 +120,8 @@ install -m 755 wpa_gui-qt4/wpa_gui %{buildroot}%{_sbindir}
|
||||
/usr/sbin/wpa_gui
|
||||
|
||||
%changelog
|
||||
* Mon May 05 2008 schwab@suse.de
|
||||
- Fix mangled error message.
|
||||
* Mon Mar 17 2008 hschaa@suse.de
|
||||
- Fix system bus activation (bnc#371500)
|
||||
* Tue Mar 11 2008 hschaa@suse.de
|
||||
|
Loading…
x
Reference in New Issue
Block a user