aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/events.c
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2017-10-09 09:08:57 (GMT)
committerJouni Malinen <j@w1.fi>2017-10-09 09:12:54 (GMT)
commit5a78c36194e5b7a8cb5f0911d123fc033df86f1d (patch)
tree3c336b8b9f92b88e0babbad173d562af9cb4d1af /wpa_supplicant/events.c
parentd90f10fa418521ba787f1e69290ab11df17c8590 (diff)
downloadhostap-5a78c36194e5b7a8cb5f0911d123fc033df86f1d.zip
hostap-5a78c36194e5b7a8cb5f0911d123fc033df86f1d.tar.gz
hostap-5a78c36194e5b7a8cb5f0911d123fc033df86f1d.tar.bz2
OWE: PMKSA caching in station mode
This extends OWE support in wpa_supplicant to allow PMKSA caching to be used. 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 65d453c..f0b78e9 100644
--- a/wpa_supplicant/events.c
+++ b/wpa_supplicant/events.c
@@ -2336,9 +2336,10 @@ static int wpa_supplicant_event_associnfo(struct wpa_supplicant *wpa_s,
#ifdef CONFIG_OWE
if (wpa_s->key_mgmt == WPA_KEY_MGMT_OWE &&
- owe_process_assoc_resp(wpa_s->wpa,
- data->assoc_info.resp_ies,
- data->assoc_info.resp_ies_len) < 0) {
+ (wpa_drv_get_bssid(wpa_s, bssid) < 0 ||
+ owe_process_assoc_resp(wpa_s->wpa, bssid,
+ data->assoc_info.resp_ies,
+ data->assoc_info.resp_ies_len) < 0)) {
wpa_supplicant_deauthenticate(wpa_s, WLAN_REASON_UNSPECIFIED);
return -1;
}