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 <aponnaia@codeaurora.org>
This commit is contained in:
Ashok Ponnaiah 2018-02-06 20:22:53 +02:00 committed by Jouni Malinen
parent 5850cba384
commit af65ef28f4

View file

@ -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 */