Fix compilation without IEEE8021X_EAPOL defined

This commit is contained in:
Henrik Brix Andersen 2008-04-28 17:06:43 +03:00 committed by Jouni Malinen
parent b717ee2ab2
commit a6a89fea36

View file

@ -619,8 +619,10 @@ void wpa_supplicant_rsn_supp_set_config(struct wpa_supplicant *wpa_s,
os_memset(&conf, 0, sizeof(conf)); os_memset(&conf, 0, sizeof(conf));
conf.peerkey_enabled = ssid->peerkey; conf.peerkey_enabled = ssid->peerkey;
conf.allowed_pairwise_cipher = ssid->pairwise_cipher; conf.allowed_pairwise_cipher = ssid->pairwise_cipher;
#ifdef IEEE8021X_EAPOL
conf.eap_workaround = ssid->eap_workaround; conf.eap_workaround = ssid->eap_workaround;
conf.eap_conf_ctx = &ssid->eap; conf.eap_conf_ctx = &ssid->eap;
#endif /* IEEE8021X_EAPOL */
conf.ssid = ssid->ssid; conf.ssid = ssid->ssid;
conf.ssid_len = ssid->ssid_len; conf.ssid_len = ssid->ssid_len;
} }