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
1 changed files with 1 additions and 1 deletions
|
@ -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.external_sim = wpa_s->conf->external_sim;
|
||||||
eapol_conf.wps = wpa_s->key_mgmt == WPA_KEY_MGMT_WPS;
|
eapol_conf.wps = wpa_s->key_mgmt == WPA_KEY_MGMT_WPS;
|
||||||
eapol_sm_notify_config(wpa_s->eapol, &ssid->eap, &eapol_conf);
|
eapol_sm_notify_config(wpa_s->eapol, &ssid->eap, &eapol_conf);
|
||||||
#endif /* IEEE8021X_EAPOL */
|
|
||||||
|
|
||||||
ieee802_1x_alloc_kay_sm(wpa_s, ssid);
|
ieee802_1x_alloc_kay_sm(wpa_s, ssid);
|
||||||
|
#endif /* IEEE8021X_EAPOL */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue