aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/notify.c
diff options
context:
space:
mode:
authorSaurav Babu <saurav.babu@samsung.com>2017-07-18 07:07:54 (GMT)
committerJouni Malinen <j@w1.fi>2017-09-09 22:39:35 (GMT)
commit9b0701fbf5b340f57186df7a99c66c7aef7a6cd1 (patch)
tree5a4d9498415eac55bd1a0933432017ada865c8e4 /wpa_supplicant/notify.c
parenta39b040b4c783153c1bcfc2f8d8a6f15c4c8990c (diff)
downloadhostap-9b0701fbf5b340f57186df7a99c66c7aef7a6cd1.zip
hostap-9b0701fbf5b340f57186df7a99c66c7aef7a6cd1.tar.gz
hostap-9b0701fbf5b340f57186df7a99c66c7aef7a6cd1.tar.bz2
dbus: Add MeshPeerConnected signal
This is similar to the control interface event MESH-PEER-CONNECTED. Signed-off-by: Saurav Babu <saurav.babu@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 e1f5759..5ed414e 100644
--- a/wpa_supplicant/notify.c
+++ b/wpa_supplicant/notify.c
@@ -875,4 +875,14 @@ void wpas_notify_mesh_group_removed(struct wpa_supplicant *wpa_s,
reason_code);
}
+
+void wpas_notify_mesh_peer_connected(struct wpa_supplicant *wpa_s,
+ const u8 *peer_addr)
+{
+ if (wpa_s->p2p_mgmt)
+ return;
+
+ wpas_dbus_signal_mesh_peer_connected(wpa_s, peer_addr);
+}
+
#endif /* CONFIG_MESH */