aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/dbus
diff options
context:
space:
mode:
authorSaurav Babu <saurav.babu@samsung.com>2015-05-28 03:53:06 (GMT)
committerJouni Malinen <j@w1.fi>2015-09-27 09:47:47 (GMT)
commit893e2cf9611cb9b31c480edc88443c5262f9c42c (patch)
treedb2dc22605743dbff7adbceff9ed3ac8b8227944 /wpa_supplicant/dbus
parent55b4cc6dd7321878707ef28fd1cd61b0fe81d24d (diff)
downloadhostap-893e2cf9611cb9b31c480edc88443c5262f9c42c.zip
hostap-893e2cf9611cb9b31c480edc88443c5262f9c42c.tar.gz
hostap-893e2cf9611cb9b31c480edc88443c5262f9c42c.tar.bz2
D-Bus: Add signal to notify WPS timeout event
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Diffstat (limited to 'wpa_supplicant/dbus')
-rw-r--r--wpa_supplicant/dbus/dbus_new.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/wpa_supplicant/dbus/dbus_new.c b/wpa_supplicant/dbus/dbus_new.c
index f594959..9e7de03 100644
--- a/wpa_supplicant/dbus/dbus_new.c
+++ b/wpa_supplicant/dbus/dbus_new.c
@@ -633,6 +633,10 @@ void wpas_dbus_signal_wps_event_fail(struct wpa_supplicant *wpa_s,
if (!dbus_message_iter_append_basic(&iter, DBUS_TYPE_STRING, &key) ||
!wpa_dbus_dict_open_write(&iter, &dict_iter) ||
!wpa_dbus_dict_append_int32(&dict_iter, "msg", fail->msg) ||
+ !wpa_dbus_dict_append_int32(&dict_iter, "config_error",
+ fail->config_error) ||
+ !wpa_dbus_dict_append_int32(&dict_iter, "error_indication",
+ fail->error_indication) ||
!wpa_dbus_dict_close_write(&iter, &dict_iter))
wpa_printf(MSG_ERROR, "dbus: Failed to construct signal");
else