compiling hostapd without EAP, with 802.1x

Jouni Malinen jkmaline
Sat May 7 15:29:05 PDT 2005


On Thu, May 05, 2005 at 12:48:38PM +0100, Steve wrote:

> Ive found a problem with a code change made on Sun Apr 17 17:08:21 2005
> to hostap/hostapd/ieee802_1x.c Line 838 of the current CVS
> 	if (sta->eapol_sm->eap)
> 			eap_sm_notify_cached(sta->eapol_sm->eap);
> 
> I build hostapd without the EAP component. The code change assumes that
> the EAP module has been included with CONFIG_EAP in the .config.

> I would suggest that a #ifdef CONFIG_EAP is required around this line???

Thanks for reporting this. I fixed this in CVS version by defining an
empty inline function for the case when EAP is not included. This was
forgotten from eap.h when the new function was added.

-- 
Jouni Malinen                                            PGP id EFC895FA




More information about the Hostap mailing list