Message ID | 20231026202657.183591-4-prestwoj@gmail.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | DPP PKEX Changes | expand |
Context | Check | Description |
---|---|---|
tedd_an/pre-ci_am | success | Success |
prestwoj/iwd-ci-gitlint | success | GitLint |
Hi James, On 10/26/23 15:26, James Prestwood wrote: > We shouldn't ever get this frame as an enrollee, so disregard > --- > src/dpp.c | 3 +++ > 1 file changed, 3 insertions(+) > Patch 3 & 4 applied, thanks. Regards, -Denis
diff --git a/src/dpp.c b/src/dpp.c index 23b17d01..edf5b797 100644 --- a/src/dpp.c +++ b/src/dpp.c @@ -914,6 +914,9 @@ static void dpp_handle_config_request_frame(const struct mmpdu_header *frame, return; } + if (dpp->role != DPP_CAPABILITY_CONFIGURATOR) + return; + if (memcmp(dpp->peer_addr, frame->address_2, 6)) { l_debug("Configuration request not from authenticated peer"); return;