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:
parent
163c2ebd37
commit
f6cfcb8ca2
@ -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);
|
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);
|
DPP_FRAME_PKEX_VERSION1_XCHG_REQUEST, hdr);
|
||||||
iov[0].iov_base = hdr;
|
iov[0].iov_base = hdr;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user