aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/notify.c
diff options
context:
space:
mode:
authorJayant Sane <jayant.sane@intel.com>2011-06-24 08:20:19 (GMT)
committerJouni Malinen <j@w1.fi>2011-06-24 08:20:19 (GMT)
commit28550706734a82eef1e62e688709b60f17150e11 (patch)
tree8050a1f04efcd9d3d57d32cd69d3302f0eee9d8e /wpa_supplicant/notify.c
parent5d5fe8ed0826de90ac630c41f5d8372995b3b18f (diff)
downloadhostap-28550706734a82eef1e62e688709b60f17150e11.zip
hostap-28550706734a82eef1e62e688709b60f17150e11.tar.gz
hostap-28550706734a82eef1e62e688709b60f17150e11.tar.bz2
P2P: More complete persistent group management over D-Bus
Extend commit c2762e410fa319f75a174aeb12343beddf99fce4 to allow applications to manage (add/remove) persistent groups and accepted network object paths while invoking a persistent group.
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 dd595e0..84c2cbd 100644
--- a/wpa_supplicant/notify.c
+++ b/wpa_supplicant/notify.c
@@ -224,6 +224,13 @@ void wpas_notify_persistent_group_added(struct wpa_supplicant *wpa_s,
}
+void wpas_notify_persistent_group_removed(struct wpa_supplicant *wpa_s,
+ struct wpa_ssid *ssid)
+{
+ wpas_dbus_unregister_persistent_group(wpa_s, ssid->id);
+}
+
+
void wpas_notify_network_removed(struct wpa_supplicant *wpa_s,
struct wpa_ssid *ssid)
{