Fix compilation without IEEE8021X_EAPOL defined

master
Henrik Brix Andersen 16 years ago committed by Jouni Malinen
parent b717ee2ab2
commit a6a89fea36

@ -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;
}

Loading…
Cancel
Save