commit 294426b4507e8a607941ab09d1337524124b85af
parent 4482b8dc2489f168301a7f09425a041ca1e5e67c
Author: James Prestwood <prestwoj@gmail.com>
Date: Tue, 27 Aug 2024 07:21:24 -0700
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.
Diffstat:
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git 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);