Patch: fix build of hostapd 0.4.2 with no EAP

Michael Smith msmith
Thu Jun 23 13:08:15 PDT 2005

Apologies if this is already fixed in CVS. Without this I get lots of link 
errors of rsn_preauth_in_progress() being multiply defined.

diff -Los/packages/wpa_supplicant/preauth.h -Los/packages/wpa_supplicant/preauth.h -u -r1.1.1.1 -r1.2
--- os/packages/wpa_supplicant/preauth.h
+++ os/packages/wpa_supplicant/preauth.h
@@ -64,7 +64,7 @@
        return 0;

-int rsn_preauth_in_progress(struct wpa_sm *sm)
+static inline int rsn_preauth_in_progress(struct wpa_sm *sm)
        return 0;

More information about the Hostap mailing list