From 294426b4507e8a607941ab09d1337524124b85af Mon Sep 17 00:00:00 2001 From: James Prestwood Date: Tue, 27 Aug 2024 07:21:24 -0700 Subject: [PATCH] dpp: allow PKEX configurators to run without multicast RX support Since IWD enrollees can send unicast frames, a PKEX configurator could still run without multicast support. Using this combination basically allows any driver to utilize DPP/PKEX assuming the MAC address can be communicated using some out of band mechanism. --- src/dpp.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/dpp.c b/src/dpp.c index 39b66154..dad74efe 100644 --- a/src/dpp.c +++ b/src/dpp.c @@ -4574,11 +4574,9 @@ static struct l_dbus_message *dpp_start_pkex_configurator(struct dpp_sm *dpp, dpp->interface != DPP_INTERFACE_UNBOUND) return dbus_error_busy(message); - if (!dpp->mcast_support) { - l_debug("Multicast frame registration not supported, cannot " - "start a configurator"); - return dbus_error_not_supported(message); - } + if (!dpp->mcast_support) + l_debug("Multicast frame registration not supported, only " + "enrollees sending uncast will be supported"); if (!network || !bss) return dbus_error_not_connected(message);