aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/notify.c
diff options
context:
space:
mode:
authorAvichal Agarwal <avichal.a@samsung.com>2015-06-05 12:46:51 (GMT)
committerJouni Malinen <j@w1.fi>2015-06-10 17:51:30 (GMT)
commit1a2f7ca1b8ef1a12196193d9953ac4536c4d1f3e (patch)
treed308f52a65ee7cbe25a17a81eda4c937f4a71178 /wpa_supplicant/notify.c
parent4f369652da41c6aec18e39235d4b16bd36074e35 (diff)
downloadhostap-1a2f7ca1b8ef1a12196193d9953ac4536c4d1f3e.zip
hostap-1a2f7ca1b8ef1a12196193d9953ac4536c4d1f3e.tar.gz
hostap-1a2f7ca1b8ef1a12196193d9953ac4536c4d1f3e.tar.bz2
D-Bus: Add WPS pbc-overlap Event
This sends an Event D-Bus signal with name "pbc-overlap" for WPS-EVENT-OVERLAP. Signed-off-by: Avichal Agarwal <avichal.a@samsung.com>
Diffstat (limited to 'wpa_supplicant/notify.c')
-rw-r--r--wpa_supplicant/notify.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/wpa_supplicant/notify.c b/wpa_supplicant/notify.c
index 5cef646..c60d404 100644
--- a/wpa_supplicant/notify.c
+++ b/wpa_supplicant/notify.c
@@ -268,6 +268,16 @@ void wpas_notify_wps_event_success(struct wpa_supplicant *wpa_s)
#endif /* CONFIG_WPS */
}
+void wpas_notify_wps_event_pbc_overlap(struct wpa_supplicant *wpa_s)
+{
+ if (wpa_s->p2p_mgmt)
+ return;
+
+#ifdef CONFIG_WPS
+ wpas_dbus_signal_wps_event_pbc_overlap(wpa_s);
+#endif /* CONFIG_WPS */
+}
+
void wpas_notify_network_added(struct wpa_supplicant *wpa_s,
struct wpa_ssid *ssid)