mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
Fix build without IEEE8021X_EAPOL
The MACsec addition placed one of the calls outside the #ifdef IEEE802X_EAPOL block while the variable needed for this was defined only within the block. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
3cea004d3c
commit
cd3153a983
@ -299,9 +299,9 @@ void wpa_supplicant_initiate_eapol(struct wpa_supplicant *wpa_s)
|
||||
eapol_conf.external_sim = wpa_s->conf->external_sim;
|
||||
eapol_conf.wps = wpa_s->key_mgmt == WPA_KEY_MGMT_WPS;
|
||||
eapol_sm_notify_config(wpa_s->eapol, &ssid->eap, &eapol_conf);
|
||||
#endif /* IEEE8021X_EAPOL */
|
||||
|
||||
ieee802_1x_alloc_kay_sm(wpa_s, ssid);
|
||||
#endif /* IEEE8021X_EAPOL */
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user