mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
fix(wpa_supplicant): Fix compilation issue in EAP disabled
This commit is contained in:
parent
868737e022
commit
94c38470ac
@ -655,6 +655,7 @@ void wpa_supplicant_process_1_of_4(struct wpa_sm *sm,
|
|||||||
u8 *kde, *kde_buf = NULL;
|
u8 *kde, *kde_buf = NULL;
|
||||||
size_t kde_len;
|
size_t kde_len;
|
||||||
|
|
||||||
|
#ifdef CONFIG_ESP_WIFI_ENTERPRISE_SUPPORT
|
||||||
if (is_wpa2_enterprise_connection()) {
|
if (is_wpa2_enterprise_connection()) {
|
||||||
wpa2_ent_eap_state_t state = eap_client_get_eap_state();
|
wpa2_ent_eap_state_t state = eap_client_get_eap_state();
|
||||||
if (state == WPA2_ENT_EAP_STATE_IN_PROGRESS) {
|
if (state == WPA2_ENT_EAP_STATE_IN_PROGRESS) {
|
||||||
@ -663,6 +664,8 @@ void wpa_supplicant_process_1_of_4(struct wpa_sm *sm,
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
wpa_sm_set_state(WPA_FIRST_HALF_4WAY_HANDSHAKE);
|
wpa_sm_set_state(WPA_FIRST_HALF_4WAY_HANDSHAKE);
|
||||||
|
|
||||||
wpa_printf(MSG_DEBUG, "WPA 1/4-Way Handshake");
|
wpa_printf(MSG_DEBUG, "WPA 1/4-Way Handshake");
|
||||||
|
Loading…
Reference in New Issue
Block a user