aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wps_supplicant.c
diff options
context:
space:
mode:
authorJayant Sane <jayant.sane@intel.com>2011-06-25 08:47:04 (GMT)
committerJouni Malinen <j@w1.fi>2011-06-25 08:47:04 (GMT)
commit3734552f15856f3247f8bc484ffdb6d2a7d08113 (patch)
tree2e15277207b6f3d6ce0605d1f0fbff51de09f4ad /wpa_supplicant/wps_supplicant.c
parent28550706734a82eef1e62e688709b60f17150e11 (diff)
downloadhostap-3734552f15856f3247f8bc484ffdb6d2a7d08113.zip
hostap-3734552f15856f3247f8bc484ffdb6d2a7d08113.tar.gz
hostap-3734552f15856f3247f8bc484ffdb6d2a7d08113.tar.bz2
P2P: Add WpsFailed signal in P2P D-Bus
Signal is triggered if an error occurs during WPS provisioning phase. Signed-off-by: Jean-Michel.Bachot <jean-michelx.bachot@intel.com> Signed-off-by: Jayant Sane <jayant.sane@intel.com>
Diffstat (limited to 'wpa_supplicant/wps_supplicant.c')
-rw-r--r--wpa_supplicant/wps_supplicant.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/wpa_supplicant/wps_supplicant.c b/wpa_supplicant/wps_supplicant.c
index ba59e7c..b75c6ef 100644
--- a/wpa_supplicant/wps_supplicant.c
+++ b/wpa_supplicant/wps_supplicant.c
@@ -470,6 +470,9 @@ static void wpa_supplicant_wps_event_fail(struct wpa_supplicant *wpa_s,
}
wpas_clear_wps(wpa_s);
wpas_notify_wps_event_fail(wpa_s, fail);
+#ifdef CONFIG_P2P
+ wpas_p2p_wps_failed(wpa_s, fail);
+#endif /* CONFIG_P2P */
}