forked from pool/wpa_supplicant
This commit is contained in:
parent
ea1ef1756c
commit
41abc99a82
22
wpa_supplicant-respect_no_reply.patch
Normal file
22
wpa_supplicant-respect_no_reply.patch
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
--- BUILD/wpa_supplicant-0.6.4/wpa_supplicant/ctrl_iface_dbus.c
|
||||||
|
+++ BUILD/wpa_supplicant-0.6.4/wpa_supplicant/ctrl_iface_dbus.c
|
||||||
|
@@ -547,7 +547,8 @@
|
||||||
|
|
||||||
|
/* If the message was handled, send back the reply */
|
||||||
|
if (reply) {
|
||||||
|
- dbus_connection_send(connection, reply, NULL);
|
||||||
|
+ if(!dbus_message_get_no_reply(message))
|
||||||
|
+ dbus_connection_send(connection, reply, NULL);
|
||||||
|
dbus_message_unref(reply);
|
||||||
|
}
|
||||||
|
|
||||||
|
@@ -606,7 +607,8 @@
|
||||||
|
|
||||||
|
/* If the message was handled, send back the reply */
|
||||||
|
if (reply) {
|
||||||
|
- dbus_connection_send(connection, reply, NULL);
|
||||||
|
+ if (!dbus_message_get_no_reply(message))
|
||||||
|
+ dbus_connection_send(connection, reply, NULL);
|
||||||
|
dbus_message_unref(reply);
|
||||||
|
}
|
||||||
|
|
@ -1,5 +1,11 @@
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jan 28 14:03:42 CET 2009 - helmut@suse.de
|
Mon Feb 9 16:06:44 CET 2009 - hschaa@suse.de
|
||||||
|
|
||||||
|
- Add wpa_supplicant-respect_no_reply.patch which avoids
|
||||||
|
D-Bus errors if no reply was requested by the caller
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 28 14:03:42 CET 2009 - hschaa@suse.de
|
||||||
|
|
||||||
- Avoid unnecessary roaming if the driver (like ipw2100) does not
|
- Avoid unnecessary roaming if the driver (like ipw2100) does not
|
||||||
report signal level. This fixes association problems with ipw2100
|
report signal level. This fixes association problems with ipw2100
|
||||||
|
@ -22,7 +22,7 @@ Name: wpa_supplicant
|
|||||||
BuildRequires: dbus-1-devel libqt4 libqt4-devel openssl-devel pkg-config readline-devel
|
BuildRequires: dbus-1-devel libqt4 libqt4-devel openssl-devel pkg-config readline-devel
|
||||||
Url: http://hostap.epitest.fi/wpa_supplicant/
|
Url: http://hostap.epitest.fi/wpa_supplicant/
|
||||||
Version: 0.6.4
|
Version: 0.6.4
|
||||||
Release: 22
|
Release: 24
|
||||||
License: BSD 3-Clause; GPL v2 or later
|
License: BSD 3-Clause; GPL v2 or later
|
||||||
Group: Productivity/Networking/Other
|
Group: Productivity/Networking/Other
|
||||||
Summary: WPA supplicant implementation
|
Summary: WPA supplicant implementation
|
||||||
@ -45,6 +45,7 @@ Patch11: wpa_supplicant-hide_secrets-2.patch
|
|||||||
Patch12: wpa_supplicant-fix_dbus_config.patch
|
Patch12: wpa_supplicant-fix_dbus_config.patch
|
||||||
Patch13: wpa_supplicant-fix_dbus_config2.patch
|
Patch13: wpa_supplicant-fix_dbus_config2.patch
|
||||||
Patch14: wpa_supplicant-fix_ap_ordering.patch
|
Patch14: wpa_supplicant-fix_ap_ordering.patch
|
||||||
|
Patch15: wpa_supplicant-respect_no_reply.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -93,6 +94,7 @@ cp %{SOURCE1} wpa_supplicant/.config
|
|||||||
%patch12 -p1
|
%patch12 -p1
|
||||||
%patch13 -p2
|
%patch13 -p2
|
||||||
%patch14 -p2
|
%patch14 -p2
|
||||||
|
%patch15 -p2
|
||||||
|
|
||||||
%build
|
%build
|
||||||
cd wpa_supplicant
|
cd wpa_supplicant
|
||||||
@ -137,7 +139,10 @@ install -m 755 wpa_supplicant/wpa_gui-qt4/wpa_gui %{buildroot}%{_sbindir}
|
|||||||
/usr/sbin/wpa_gui
|
/usr/sbin/wpa_gui
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Wed Jan 28 2009 helmut@suse.de
|
* Mon Feb 09 2009 hschaa@suse.de
|
||||||
|
- Add wpa_supplicant-respect_no_reply.patch which avoids
|
||||||
|
D-Bus errors if no reply was requested by the caller
|
||||||
|
* Wed Jan 28 2009 hschaa@suse.de
|
||||||
- Avoid unnecessary roaming if the driver (like ipw2100) does not
|
- Avoid unnecessary roaming if the driver (like ipw2100) does not
|
||||||
report signal level. This fixes association problems with ipw2100
|
report signal level. This fixes association problems with ipw2100
|
||||||
(bnc#469779).
|
(bnc#469779).
|
||||||
|
Loading…
x
Reference in New Issue
Block a user