The local network profile parameters for EAP are not available without
IEEE8021X_EAPOL, so do not try to set these in builds that do not
include any EAP support.
Signed-off-by: Jouni Malinen <j@w1.fi>
}
}
-#ifdef CONFIG_DPP2
+#if defined(CONFIG_DPP2) && defined(IEEE8021X_EAPOL)
if (conf->akm == DPP_AKM_DOT1X) {
int i;
char name[100], blobname[128];
if (wpa_config_set(ssid, "eap", "TLS", 0) < 0)
goto fail;
}
-#endif /* CONFIG_DPP2 */
+#endif /* CONFIG_DPP2 && IEEE8021X_EAPOL */
os_memcpy(wpa_s->dpp_last_ssid, conf->ssid, conf->ssid_len);
wpa_s->dpp_last_ssid_len = conf->ssid_len;