aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wpa_supplicant.c
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2017-06-18 17:19:25 (GMT)
committerJouni Malinen <j@w1.fi>2017-06-19 18:13:59 (GMT)
commita0d5c56f8b78f073f3a31129557f8d72ad5a2c91 (patch)
treeb7b58fa1c88361adced4b4b5cf82596cb93424c3 /wpa_supplicant/wpa_supplicant.c
parent4ff89c2ebd314ebfa1e1beb259f9adec9475db51 (diff)
downloadhostap-a0d5c56f8b78f073f3a31129557f8d72ad5a2c91.zip
hostap-a0d5c56f8b78f073f3a31129557f8d72ad5a2c91.tar.gz
hostap-a0d5c56f8b78f073f3a31129557f8d72ad5a2c91.tar.bz2
DPP: Network Introduction protocol for wpa_supplicant
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/wpa_supplicant.c')
-rw-r--r--wpa_supplicant/wpa_supplicant.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/wpa_supplicant/wpa_supplicant.c b/wpa_supplicant/wpa_supplicant.c
index ca6f179..f599c7e 100644
--- a/wpa_supplicant/wpa_supplicant.c
+++ b/wpa_supplicant/wpa_supplicant.c
@@ -1847,6 +1847,11 @@ void wpa_supplicant_associate(struct wpa_supplicant *wpa_s,
return;
}
+#ifdef CONFIG_DPP
+ if (wpas_dpp_check_connect(wpa_s, ssid, bss) != 0)
+ return;
+#endif /* CONFIG_DPP */
+
#ifdef CONFIG_TDLS
if (bss)
wpa_tdls_ap_ies(wpa_s->wpa, (const u8 *) (bss + 1),