From f6cfcb8ca2e4dd2def3aceb57990d96fddaab5eb Mon Sep 17 00:00:00 2001 From: James Prestwood Date: Fri, 6 Sep 2024 08:05:22 -0700 Subject: [PATCH] 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. --- src/dpp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dpp.c b/src/dpp.c index 5d56456d..6f2d45c2 100644 --- a/src/dpp.c +++ b/src/dpp.c @@ -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;