aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wps_supplicant.c
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2010-07-18 21:30:25 (GMT)
committerJouni Malinen <j@w1.fi>2010-09-09 14:17:17 (GMT)
commitb22128efdc01099b3ad9bb62d3dc168316691b2a (patch)
tree527b7ce9a0785b255f79c1e6e25587218bc4692e /wpa_supplicant/wps_supplicant.c
parentc2af2afb3bbafb7e20eff4b67a4b9818c60fe51e (diff)
downloadhostap-b22128efdc01099b3ad9bb62d3dc168316691b2a.zip
hostap-b22128efdc01099b3ad9bb62d3dc168316691b2a.tar.gz
hostap-b22128efdc01099b3ad9bb62d3dc168316691b2a.tar.bz2
P2P: Add initial version of P2P Module
Diffstat (limited to 'wpa_supplicant/wps_supplicant.c')
-rw-r--r--wpa_supplicant/wps_supplicant.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/wpa_supplicant/wps_supplicant.c b/wpa_supplicant/wps_supplicant.c
index 2da1697..6d95921 100644
--- a/wpa_supplicant/wps_supplicant.c
+++ b/wpa_supplicant/wps_supplicant.c
@@ -32,6 +32,7 @@
#include "blacklist.h"
#include "bss.h"
#include "scan.h"
+#include "p2p_supplicant.h"
#include "wps_supplicant.h"
@@ -399,6 +400,9 @@ static void wpa_supplicant_wps_event_success(struct wpa_supplicant *wpa_s)
wpa_msg(wpa_s, MSG_INFO, WPS_EVENT_SUCCESS);
wpa_s->wps_success = 1;
wpas_notify_wps_event_success(wpa_s);
+#ifdef CONFIG_P2P
+ wpas_p2p_wps_success(wpa_s, wpa_s->bssid, 0);
+#endif /* CONFIG_P2P */
}