mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-19 01:42:33 +01:00
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:
parent
4482b8dc24
commit
294426b450
@ -4574,11 +4574,9 @@ static struct l_dbus_message *dpp_start_pkex_configurator(struct dpp_sm *dpp,
|
|||||||
dpp->interface != DPP_INTERFACE_UNBOUND)
|
dpp->interface != DPP_INTERFACE_UNBOUND)
|
||||||
return dbus_error_busy(message);
|
return dbus_error_busy(message);
|
||||||
|
|
||||||
if (!dpp->mcast_support) {
|
if (!dpp->mcast_support)
|
||||||
l_debug("Multicast frame registration not supported, cannot "
|
l_debug("Multicast frame registration not supported, only "
|
||||||
"start a configurator");
|
"enrollees sending uncast will be supported");
|
||||||
return dbus_error_not_supported(message);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!network || !bss)
|
if (!network || !bss)
|
||||||
return dbus_error_not_connected(message);
|
return dbus_error_not_connected(message);
|
||||||
|
Loading…
Reference in New Issue
Block a user