From: Ashok Ponnaiah Date: Tue, 6 Feb 2018 18:22:53 +0000 (+0200) Subject: OWE: Add RSNE when not using PMKSA caching (driver-SME/MLME) X-Git-Tag: hostap_2_7~595 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af65ef28f4f007d57fbc0ab019f8345645af0d89;p=thirdparty%2Fhostap.git 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 --- 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 */