aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/notify.c
diff options
context:
space:
mode:
authorNishant Chaprana <n.chaprana@samsung.com>2015-08-20 10:58:33 (GMT)
committerJouni Malinen <j@w1.fi>2015-09-05 20:01:20 (GMT)
commit2a95fac94421a9351d994e10768373c05c4be482 (patch)
tree0bfb55a95e4efd19ceb9a709dbb2048defab6290 /wpa_supplicant/notify.c
parent926404a6b22dcd6e49067b85589185bcb2271565 (diff)
downloadhostap-2a95fac94421a9351d994e10768373c05c4be482.zip
hostap-2a95fac94421a9351d994e10768373c05c4be482.tar.gz
hostap-2a95fac94421a9351d994e10768373c05c4be482.tar.bz2
P2P: Add D-Bus signal GroupFormationFailure
This is similar to the control interface event P2P-GROUP-FORMATION-FAILURE. Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Diffstat (limited to 'wpa_supplicant/notify.c')
-rw-r--r--wpa_supplicant/notify.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/wpa_supplicant/notify.c b/wpa_supplicant/notify.c
index aa8c214..4ece411 100644
--- a/wpa_supplicant/notify.c
+++ b/wpa_supplicant/notify.c
@@ -657,6 +657,14 @@ void wpas_notify_p2p_group_started(struct wpa_supplicant *wpa_s,
}
+void wpas_notify_p2p_group_formation_failure(struct wpa_supplicant *wpa_s,
+ const char *reason)
+{
+ /* Notify a group formation failed */
+ wpas_dbus_signal_p2p_group_formation_failure(wpa_s, reason);
+}
+
+
void wpas_notify_p2p_wps_failed(struct wpa_supplicant *wpa_s,
struct wps_event_fail *fail)
{