aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/events.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/events.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/events.c')
-rw-r--r--wpa_supplicant/events.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/wpa_supplicant/events.c b/wpa_supplicant/events.c
index d16108f..314d8f8 100644
--- a/wpa_supplicant/events.c
+++ b/wpa_supplicant/events.c
@@ -1215,9 +1215,10 @@ struct wpa_ssid * wpa_scan_res_match(struct wpa_supplicant *wpa_s,
#ifdef CONFIG_DPP
if ((ssid->key_mgmt & WPA_KEY_MGMT_DPP) &&
- !wpa_sm_pmksa_exists(wpa_s->wpa, bss->bssid, ssid)) {
- /* TODO: Go through DPP network introduction to generate
- * PMKSA entry. */
+ !wpa_sm_pmksa_exists(wpa_s->wpa, bss->bssid, ssid) &&
+ (!ssid->dpp_connector ||
+ !ssid->dpp_netaccesskey ||
+ !ssid->dpp_csign)) {
if (debug_print)
wpa_dbg(wpa_s, MSG_DEBUG,
" skip - no PMKSA entry for DPP");