[PATCH] wpa_supplicant: Fix build without IEEE8021X_EAPOL

Jouni Malinen j at w1.fi
Thu Dec 3 10:54:52 PST 2026


On Thu, Dec 03, 2026 at 03:21:38PM +0200, Andrei Otcheretianski wrote:
> check_eap_fast_pac_file() is called only from
> wpa_supplicant_initiate_eapol() under IEEE8021X_EAPOL, but it was
> defined unconditionally. As a result, wpa_supplicant fails to build
> with -Werror without IEEE8021X_EAPOL (e.g., the empty, dpp, dpp-ap and
> dbus_without_ap configurations in tests/build) because of an unused
> static function.
> 
> Define the function only with IEEE8021X_EAPOL.

Thanks, applied.
 
-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list