]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
OWE: Add RSNE when not using PMKSA caching (driver-SME/MLME)
authorAshok Ponnaiah <aponnaia@codeaurora.org>
Tue, 6 Feb 2018 18:22:53 +0000 (20:22 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 6 Feb 2018 18:22:53 +0000 (20:22 +0200)
RSNE needs to be added both with and without use of PMKSA caching.

Signed-off-by: Ashok Ponnaiah <aponnaia@codeaurora.org>
src/ap/ieee802_11.c

index aa869ff60f0e5323d2a4373e2825825551b80cfd..abbc607c42cf57e2f628fcce437473014134d196 100644 (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 */