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.
This commit is contained in:
James Prestwood 2024-08-27 07:21:24 -07:00 committed by Denis Kenzior
parent 4482b8dc24
commit 294426b450
1 changed files with 3 additions and 5 deletions

View File

@ -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);