[PATCH] EAP: Fix Get EapMethods via dbus when IEEE8021X_EAPOL is disabled
Jouni Malinen
j at w1.fi
Sat Oct 24 12:31:13 PDT 2026
On Tue, Aug 25, 2026 at 11:16:36AM -0400, Jonah Petri wrote:
> When IEEE8021X_EAPOL is disabled, wpa_supplicant would return "no
> memory" when Get EapMethods or simply GetAll was issued via dbus. This
> change fixes the stub code which is invoked when IEEE8021X_EAPOL is
> disabled to match the return convention of its fully-fledged peer.
>
> To test this, configure wpa_supplicant with IEEE8021X_EAPOL off, and
> then issue something like:
>
> busctl --system call fi.w1.wpa_supplicant1 /fi/w1/wpa_supplicant1 \
> org.freedesktop.DBus.Properties GetAll s fi.w1.wpa_supplicant1
>
> This patch fixes this issue by changing the behavior of wpa_supplicant
> to return an empty array instead.
>
> The "no memory" error was causing connman to not see the wifi interface
> at all, as connman would treat the "no memory" error as cause to reject
> the wifi interface.
Thanks, applied.
--
Jouni Malinen PGP id EFC895FA
More information about the Hostap
mailing list