3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-16 17:09:24 +01:00

dpp: use peer_addr for pkex exchange request

This was hard coded to broadcast and missed in the initial changes
to support starting PKEX to a specific peer.
This commit is contained in:
James Prestwood 2024-09-06 08:05:22 -07:00 committed by Denis Kenzior
parent 163c2ebd37
commit f6cfcb8ca2

View File

@ -1840,7 +1840,7 @@ static void dpp_send_pkex_exchange_request(struct dpp_sm *dpp)
l_put_le16(l_ecc_curve_get_ike_group(dpp->curve), &group);
iov[0].iov_len = dpp_build_header(own_mac, broadcast,
iov[0].iov_len = dpp_build_header(own_mac, dpp->peer_addr,
DPP_FRAME_PKEX_VERSION1_XCHG_REQUEST, hdr);
iov[0].iov_base = hdr;