mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 18:28:23 -05:00
Fix compilation without IEEE8021X_EAPOL defined
This commit is contained in:
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));
|
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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user