From af65ef28f4f007d57fbc0ab019f8345645af0d89 Mon Sep 17 00:00:00 2001 From: Ashok Ponnaiah Date: Tue, 6 Feb 2018 20:22:53 +0200 Subject: [PATCH] OWE: Add RSNE when not using PMKSA caching (driver-SME/MLME) RSNE needs to be added both with and without use of PMKSA caching. Signed-off-by: Ashok Ponnaiah --- src/ap/ieee802_11.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ap/ieee802_11.c b/src/ap/ieee802_11.c index aa869ff60..abbc607c4 100644 --- a/src/ap/ieee802_11.c +++ b/src/ap/ieee802_11.c @@ -3011,6 +3011,9 @@ u8 * owe_auth_req_process(struct hostapd_data *hapd, struct sta_info *sta, return NULL; } + owe_buf = wpa_auth_write_assoc_resp_owe(sta->wpa_sm, owe_buf, + owe_buf_len, NULL, 0); + /* OWE Diffie-Hellman Parameter element */ *owe_buf++ = WLAN_EID_EXTENSION; /* Element ID */ *owe_buf++ = 1 + 2 + wpabuf_len(pub); /* Length */