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 <quic_drohan@quicinc.com>
This commit is contained in:
Rohan Dutta 2023-10-10 10:42:00 +05:30 committed by Jouni Malinen
parent 1af364e3ce
commit c92311fed7

View file

@ -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);
}