eiwd

no dbus iwd with iwctl functionality
git clone https://git.daat.foo/repos/eiwd.git
Log | Files | Refs | Submodules | README | LICENSE

commit efdc2a63eb78cfc13ac03191808040b4a6fb7237
parent 3e0e31544e3706ba8222986407c0f1787e7d21d8
Author: James Prestwood <prestwoj@gmail.com>
Date:   Thu, 26 Oct 2023 13:26:45 -0700

dpp: check configurator role in config request frame

We shouldn't ever get this frame as an enrollee, so disregard

Diffstat:
Msrc/dpp.c | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/dpp.c b/src/dpp.c @@ -946,6 +946,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;