aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2009-05-29 19:35:31 (GMT)
committerJouni Malinen <j@w1.fi>2009-05-29 19:35:31 (GMT)
commitb14912025febed6ad3bebcdc42a7a0b630026ece (patch)
treebc2d941183aa44732cdadb5f13bb1e1d9128a46d
parent36c88ec814c6c2d0232721314d96cdceda525002 (diff)
downloadhostap-b14912025febed6ad3bebcdc42a7a0b630026ece.zip
hostap-b14912025febed6ad3bebcdc42a7a0b630026ece.tar.gz
hostap-b14912025febed6ad3bebcdc42a7a0b630026ece.tar.bz2
Comment out unused functions if IEEE8021X_EAPOL is not defined
-rw-r--r--wpa_supplicant/wpas_glue.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/wpa_supplicant/wpas_glue.c b/wpa_supplicant/wpas_glue.c
index c2eb131..b1f8bf8 100644
--- a/wpa_supplicant/wpas_glue.c
+++ b/wpa_supplicant/wpas_glue.c
@@ -499,6 +499,7 @@ static int wpa_supplicant_send_ft_action(void *ctx, u8 action,
#endif /* CONFIG_NO_WPA */
+#ifdef IEEE8021X_EAPOL
#if defined(CONFIG_CTRL_IFACE) || !defined(CONFIG_NO_STDOUT_DEBUG)
static void wpa_supplicant_eap_param_needed(void *ctx, const char *field,
const char *txt)
@@ -544,6 +545,7 @@ static void wpa_supplicant_port_cb(void *ctx, int authorized)
authorized ? "Authorized" : "Unauthorized");
wpa_drv_set_supp_port(wpa_s, authorized);
}
+#endif /* IEEE8021X_EAPOL */
int wpa_supplicant_init_eapol(struct wpa_supplicant *wpa_s)