From a6a89fea368001578c75987bbc13b2a3d22c47f7 Mon Sep 17 00:00:00 2001 From: Henrik Brix Andersen Date: Mon, 28 Apr 2008 17:06:43 +0300 Subject: [PATCH] Fix compilation without IEEE8021X_EAPOL defined --- wpa_supplicant/wpas_glue.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wpa_supplicant/wpas_glue.c b/wpa_supplicant/wpas_glue.c index c1637c4a5..3a87d065b 100644 --- a/wpa_supplicant/wpas_glue.c +++ b/wpa_supplicant/wpas_glue.c @@ -619,8 +619,10 @@ void wpa_supplicant_rsn_supp_set_config(struct wpa_supplicant *wpa_s, os_memset(&conf, 0, sizeof(conf)); conf.peerkey_enabled = ssid->peerkey; conf.allowed_pairwise_cipher = ssid->pairwise_cipher; +#ifdef IEEE8021X_EAPOL conf.eap_workaround = ssid->eap_workaround; conf.eap_conf_ctx = &ssid->eap; +#endif /* IEEE8021X_EAPOL */ conf.ssid = ssid->ssid; conf.ssid_len = ssid->ssid_len; }