[PATCH] Fix compilation without IEEE8021X_EAPOL defined

Henrik Brix Andersen henrik
Sun Apr 27 01:59:09 PDT 2008


This patch fixes compilation when IEEE8021X_EAPOL is not defined. The
patch is againt wpa_supplicant-0.6.3:


--- wpa_supplicant/wpas_glue.c.orig	2008-02-23 03:45:24.000000000 +0100
+++ wpa_supplicant/wpas_glue.c	2008-04-26 16:58:45.000000000 +0200
@@ -619,8 +619,10 @@ void wpa_supplicant_rsn_supp_set_config(
 		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;
 	}

-- 
Henrik Brix Andersen <henrik at brixandersen.dk>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 217 bytes
Desc: not available
Url : http://lists.shmoo.com/pipermail/hostap/attachments/20080427/04aab023/attachment.pgp 



More information about the Hostap mailing list