aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/dbus/dbus_old_handlers.c
diff options
context:
space:
mode:
authorDmitry Shmidt <dimitrysh@google.com>2012-01-29 18:15:48 (GMT)
committerJouni Malinen <j@w1.fi>2012-01-29 18:15:48 (GMT)
commitdf509539d43dc6826cbe2e22debc3ce70d4a34e6 (patch)
tree258c09797517be2331f38e187d1fe6539a458e4f /wpa_supplicant/dbus/dbus_old_handlers.c
parentad612c2ace2973a2eac30b1ef0cef25731f90a8c (diff)
downloadhostap-df509539d43dc6826cbe2e22debc3ce70d4a34e6.zip
hostap-df509539d43dc6826cbe2e22debc3ce70d4a34e6.tar.gz
hostap-df509539d43dc6826cbe2e22debc3ce70d4a34e6.tar.bz2
Let wpa_supplicant_deinit_iface() know that process is terminating
This will be needed to be able to move ctrl_iface TERMINATING event to the end of interface removal. Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Diffstat (limited to 'wpa_supplicant/dbus/dbus_old_handlers.c')
-rw-r--r--wpa_supplicant/dbus/dbus_old_handlers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wpa_supplicant/dbus/dbus_old_handlers.c b/wpa_supplicant/dbus/dbus_old_handlers.c
index a7eabf3..8370a95 100644
--- a/wpa_supplicant/dbus/dbus_old_handlers.c
+++ b/wpa_supplicant/dbus/dbus_old_handlers.c
@@ -229,7 +229,7 @@ DBusMessage * wpas_dbus_global_remove_interface(DBusMessage *message,
goto out;
}
- if (!wpa_supplicant_remove_iface(global, wpa_s)) {
+ if (!wpa_supplicant_remove_iface(global, wpa_s, 0)) {
reply = wpas_dbus_new_success_reply(message);
} else {
reply = dbus_message_new_error(message,