public inbox for iwd@lists.linux.dev
 help / color / mirror / Atom feed
* [PATCH] dpp: use peer_addr for pkex exchange request
@ 2024-09-06 15:05 James Prestwood
  2024-09-06 18:59 ` Denis Kenzior
  0 siblings, 1 reply; 2+ messages in thread
From: James Prestwood @ 2024-09-06 15:05 UTC (permalink / raw)
  To: iwd; +Cc: James Prestwood

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;
 
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-09-06 18:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-06 15:05 [PATCH] dpp: use peer_addr for pkex exchange request James Prestwood
2024-09-06 18:59 ` Denis Kenzior

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox