From 41abc99a82ee6f249c22202c770f4cef9a235df601b6977cfec693e25bb8aec4 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Mon, 9 Feb 2009 17:00:48 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/wpa_supplicant?expand=0&rev=22 --- wpa_supplicant-respect_no_reply.patch | 22 ++++++++++++++++++++++ wpa_supplicant.changes | 8 +++++++- wpa_supplicant.spec | 9 +++++++-- 3 files changed, 36 insertions(+), 3 deletions(-) create mode 100644 wpa_supplicant-respect_no_reply.patch diff --git a/wpa_supplicant-respect_no_reply.patch b/wpa_supplicant-respect_no_reply.patch new file mode 100644 index 0000000..c6989ed --- /dev/null +++ b/wpa_supplicant-respect_no_reply.patch @@ -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); + } + diff --git a/wpa_supplicant.changes b/wpa_supplicant.changes index b6dbaec..ece6d0e 100644 --- a/wpa_supplicant.changes +++ b/wpa_supplicant.changes @@ -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 report signal level. This fixes association problems with ipw2100 diff --git a/wpa_supplicant.spec b/wpa_supplicant.spec index b5aee10..4605186 100644 --- a/wpa_supplicant.spec +++ b/wpa_supplicant.spec @@ -22,7 +22,7 @@ Name: wpa_supplicant BuildRequires: dbus-1-devel libqt4 libqt4-devel openssl-devel pkg-config readline-devel Url: http://hostap.epitest.fi/wpa_supplicant/ Version: 0.6.4 -Release: 22 +Release: 24 License: BSD 3-Clause; GPL v2 or later Group: Productivity/Networking/Other Summary: WPA supplicant implementation @@ -45,6 +45,7 @@ Patch11: wpa_supplicant-hide_secrets-2.patch Patch12: wpa_supplicant-fix_dbus_config.patch Patch13: wpa_supplicant-fix_dbus_config2.patch Patch14: wpa_supplicant-fix_ap_ordering.patch +Patch15: wpa_supplicant-respect_no_reply.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -93,6 +94,7 @@ cp %{SOURCE1} wpa_supplicant/.config %patch12 -p1 %patch13 -p2 %patch14 -p2 +%patch15 -p2 %build cd wpa_supplicant @@ -137,7 +139,10 @@ install -m 755 wpa_supplicant/wpa_gui-qt4/wpa_gui %{buildroot}%{_sbindir} /usr/sbin/wpa_gui %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 report signal level. This fixes association problems with ipw2100 (bnc#469779).