Fix compilation without IEEE8021X_EAPOL defined
This commit is contained in:
parent
b717ee2ab2
commit
a6a89fea36
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue