forked from pool/wpa_supplicant
23 lines
675 B
Diff
23 lines
675 B
Diff
--- 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);
|
|
}
|
|
|