Re: [PATCH] wpa_supplicant: fix compiling without IEEE8021X_EAPOL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Mar 14, 2023 at 10:17:19PM +0100, Nick Hainke wrote:
> If IEEE8021X_EAPOL is not defined wpa_supplicant will not compile with
> following error:
> 
>   events.c: In function 'wpa_supplicant_connect':
>   events.c:1827:14: warning: implicit declaration of function 'eap_is_wps_pbc_enrollee' [-Wimplicit-function-declaration]
>    1827 |         if ((eap_is_wps_pbc_enrollee(&ssid->eap) &&
>         |              ^~~~~~~~~~~~~~~~~~~~~~~
>   events.c:1827:43: error: 'struct wpa_ssid' has no member named 'eap'
>    1827 |         if ((eap_is_wps_pbc_enrollee(&ssid->eap) &&
>         |                                           ^~
> 
> Adding ifdef statements around the calling function fixes the issue.

Thanks, applied.
 
-- 
Jouni Malinen                                            PGP id EFC895FA

_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux