From: Rohan Dutta Date: Tue, 10 Oct 2023 05:12:00 +0000 (+0530) Subject: MLD STA: Fix destination address for Group Key handshake msg 2/2 X-Git-Tag: hostap_2_11~824 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c92311fed7b03b851deb7863a64dca2959b762c4;p=thirdparty%2Fhostap.git MLD STA: Fix destination address for Group Key handshake msg 2/2 For MLO association, specify destination address as the MLD MAC address for sending Group Key msg 2/2. Signed-off-by: Rohan Dutta --- diff --git a/src/rsn_supp/wpa.c b/src/rsn_supp/wpa.c index 6d448d071..de1525501 100644 --- a/src/rsn_supp/wpa.c +++ b/src/rsn_supp/wpa.c @@ -2744,8 +2744,8 @@ static int wpa_supplicant_send_2_of_2(struct wpa_sm *sm, #endif /* CONFIG_OCV */ wpa_dbg(sm->ctx->msg_ctx, MSG_DEBUG, "WPA: Sending EAPOL-Key 2/2"); - return wpa_eapol_key_send(sm, &sm->ptk, ver, sm->bssid, ETH_P_EAPOL, - rbuf, rlen, key_mic); + return wpa_eapol_key_send(sm, &sm->ptk, ver, wpa_sm_get_auth_addr(sm), + ETH_P_EAPOL, rbuf, rlen, key_mic); }