aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2005-06-24 01:55:25 (GMT)
committerJouni Malinen <j@w1.fi>2005-06-24 01:55:25 (GMT)
commitd1fabab241422012ba599675cbc709236be12254 (patch)
tree15ed54de748906fb949e493f870f551da973c185
parent7283fe1e2f8ee566478431ee004718ed6cfbb0fe (diff)
downloadhostap-history-d1fabab241422012ba599675cbc709236be12254.zip
hostap-history-d1fabab241422012ba599675cbc709236be12254.tar.gz
hostap-history-d1fabab241422012ba599675cbc709236be12254.tar.bz2
Fixed compilation without EAP.
-rw-r--r--wpa_supplicant/preauth.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/wpa_supplicant/preauth.h b/wpa_supplicant/preauth.h
index da97563..0d194c4 100644
--- a/wpa_supplicant/preauth.h
+++ b/wpa_supplicant/preauth.h
@@ -49,7 +49,9 @@ int rsn_preauth_in_progress(struct wpa_sm *sm);
#else /* IEEE8021X_EAPOL */
-#define rsn_preauth_candidate_process(w) do { } while (0)
+static inline void rsn_preauth_candidate_process(struct wpa_sm *sm)
+{
+}
static inline int rsn_preauth_init(struct wpa_sm *sm, const u8 *dst,
struct wpa_ssid *config)
@@ -78,7 +80,7 @@ static inline int rsn_preauth_get_status(struct wpa_sm *sm, char *buf,
return 0;
}
-int rsn_preauth_in_progress(struct wpa_sm *sm)
+static inline int rsn_preauth_in_progress(struct wpa_sm *sm)
{
return 0;
}