From: Jouni Malinen Date: Sun, 12 Oct 2014 13:56:23 +0000 (+0300) Subject: Fix build without IEEE8021X_EAPOL X-Git-Tag: hostap_2_4~1327 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd3153a9832272fbe6f48cb965401c9d9867e8f8;p=thirdparty%2Fhostap.git 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 --- diff --git a/wpa_supplicant/wpa_supplicant.c b/wpa_supplicant/wpa_supplicant.c index 14fd325ef..a061f8eb7 100644 --- a/wpa_supplicant/wpa_supplicant.c +++ b/wpa_supplicant/wpa_supplicant.c @@ -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 */ }