diff options
author | Saurav Babu <saurav.babu@samsung.com> | 2017-07-18 07:07:53 (GMT) |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2017-09-09 11:12:33 (GMT) |
commit | a39b040b4c783153c1bcfc2f8d8a6f15c4c8990c (patch) | |
tree | bc9aa4ce7e69596f3241179fdcae79ab38d86077 /wpa_supplicant/notify.c | |
parent | 89e9cd25d235eed91eaf397550c77ce07e5a895f (diff) | |
download | hostap-a39b040b4c783153c1bcfc2f8d8a6f15c4c8990c.zip hostap-a39b040b4c783153c1bcfc2f8d8a6f15c4c8990c.tar.gz hostap-a39b040b4c783153c1bcfc2f8d8a6f15c4c8990c.tar.bz2 |
dbus: Add MeshGroupRemoved signal
This is similar to the control interface event MESH-GROUP-REMOVED.
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Diffstat (limited to 'wpa_supplicant/notify.c')
-rw-r--r-- | wpa_supplicant/notify.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/wpa_supplicant/notify.c b/wpa_supplicant/notify.c index e617022..e1f5759 100644 --- a/wpa_supplicant/notify.c +++ b/wpa_supplicant/notify.c @@ -853,6 +853,7 @@ void wpas_notify_network_type_changed(struct wpa_supplicant *wpa_s, #ifdef CONFIG_MESH + void wpas_notify_mesh_group_started(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid) { @@ -861,4 +862,17 @@ void wpas_notify_mesh_group_started(struct wpa_supplicant *wpa_s, wpas_dbus_signal_mesh_group_started(wpa_s, ssid); } + + +void wpas_notify_mesh_group_removed(struct wpa_supplicant *wpa_s, + const u8 *meshid, u8 meshid_len, + int reason_code) +{ + if (wpa_s->p2p_mgmt) + return; + + wpas_dbus_signal_mesh_group_removed(wpa_s, meshid, meshid_len, + reason_code); +} + #endif /* CONFIG_MESH */ |