aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/notify.c
diff options
context:
space:
mode:
authorNishant Chaprana <n.chaprana@samsung.com>2015-05-13 12:03:48 (GMT)
committerJouni Malinen <j@w1.fi>2015-05-25 15:31:09 (GMT)
commit7b642dc80b965de3cb5c559febc340116aac54cb (patch)
treeb75bd3e047e72a614b6ffd0ffd3efd45272772cd /wpa_supplicant/notify.c
parentd63f1419b5a5ea84195c180758a93f57311e9b29 (diff)
downloadhostap-7b642dc80b965de3cb5c559febc340116aac54cb.zip
hostap-7b642dc80b965de3cb5c559febc340116aac54cb.tar.gz
hostap-7b642dc80b965de3cb5c559febc340116aac54cb.tar.bz2
P2P: Add D-Bus FindStopped to notify P2P-FIND-STOPPED event
Add D-Bus notification mechanism of P2P-FIND-STOPPED event on fi.w1.wpa_supplicant1.Interface.P2PDevice interface. Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Diffstat (limited to 'wpa_supplicant/notify.c')
-rw-r--r--wpa_supplicant/notify.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/wpa_supplicant/notify.c b/wpa_supplicant/notify.c
index 184a95c..4df9d90 100644
--- a/wpa_supplicant/notify.c
+++ b/wpa_supplicant/notify.c
@@ -520,6 +520,13 @@ void wpas_notify_resume(struct wpa_global *global)
#ifdef CONFIG_P2P
+void wpas_notify_p2p_find_stopped(struct wpa_supplicant *wpa_s)
+{
+ /* Notify P2P find has stopped */
+ wpas_dbus_signal_p2p_find_stopped(wpa_s);
+}
+
+
void wpas_notify_p2p_device_found(struct wpa_supplicant *wpa_s,
const u8 *dev_addr, int new_device)
{