aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/notify.c
diff options
context:
space:
mode:
authorSven Neumann <s.neumann@raumfeld.com>2012-11-03 16:37:20 (GMT)
committerJouni Malinen <j@w1.fi>2012-11-03 16:38:51 (GMT)
commitcaff399250311abfea3376b38530a88bb78b957d (patch)
tree3c5b3c0f965ee4916beb8644dd80586c7f6e3da0 /wpa_supplicant/notify.c
parent7d81932d2736288940e188e924c1cad907160597 (diff)
downloadhostap-caff399250311abfea3376b38530a88bb78b957d.zip
hostap-caff399250311abfea3376b38530a88bb78b957d.tar.gz
hostap-caff399250311abfea3376b38530a88bb78b957d.tar.bz2
dbus: Add getter for WPS properties
Add "WPS" property to the DBus interface that allows to identify the active WPS method of a BSS. Signed-hostap: Sven Neumann <s.neumann@raumfeld.com>
Diffstat (limited to 'wpa_supplicant/notify.c')
-rw-r--r--wpa_supplicant/notify.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/wpa_supplicant/notify.c b/wpa_supplicant/notify.c
index 0ede0d0..9251f62 100644
--- a/wpa_supplicant/notify.c
+++ b/wpa_supplicant/notify.c
@@ -323,6 +323,9 @@ void wpas_notify_bss_rsnie_changed(struct wpa_supplicant *wpa_s,
void wpas_notify_bss_wps_changed(struct wpa_supplicant *wpa_s,
unsigned int id)
{
+#ifdef CONFIG_WPS
+ wpas_dbus_bss_signal_prop_changed(wpa_s, WPAS_DBUS_BSS_PROP_WPS, id);
+#endif /* CONFIG_WPS */
}