aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/notify.c
diff options
context:
space:
mode:
authorSaurav Babu <saurav.babu@samsung.com>2017-07-18 07:07:51 (GMT)
committerJouni Malinen <j@w1.fi>2017-09-09 11:01:14 (GMT)
commit89e9cd25d235eed91eaf397550c77ce07e5a895f (patch)
tree66c37158d4c13aff69d44314d9d612964a26d68d /wpa_supplicant/notify.c
parent49e6a55537269e26a0ebd4f7536dbd54734e91fa (diff)
downloadhostap-89e9cd25d235eed91eaf397550c77ce07e5a895f.zip
hostap-89e9cd25d235eed91eaf397550c77ce07e5a895f.tar.gz
hostap-89e9cd25d235eed91eaf397550c77ce07e5a895f.tar.bz2
dbus: Add MeshGroupStarted signal
This introduces a new interface for mesh and adds a signal that is similar to the control interface event MESH-GROUP-STARTED. Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Diffstat (limited to 'wpa_supplicant/notify.c')
-rw-r--r--wpa_supplicant/notify.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/wpa_supplicant/notify.c b/wpa_supplicant/notify.c
index f9c119a..e617022 100644
--- a/wpa_supplicant/notify.c
+++ b/wpa_supplicant/notify.c
@@ -850,3 +850,15 @@ void wpas_notify_network_type_changed(struct wpa_supplicant *wpa_s,
}
#endif /* CONFIG_P2P */
}
+
+
+#ifdef CONFIG_MESH
+void wpas_notify_mesh_group_started(struct wpa_supplicant *wpa_s,
+ struct wpa_ssid *ssid)
+{
+ if (wpa_s->p2p_mgmt)
+ return;
+
+ wpas_dbus_signal_mesh_group_started(wpa_s, ssid);
+}
+#endif /* CONFIG_MESH */