aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wpas_glue.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2015-11-23 21:34:52 (GMT)
committerJouni Malinen <j@w1.fi>2015-11-23 21:34:52 (GMT)
commit9e68742ef199f252329f4bc3bf4eec4234d27f7b (patch)
treecca94b6bc118978ea9393a06a536f2ba347d9e2b /wpa_supplicant/wpas_glue.c
parenteb926f1257b1b8e2812acb432df4e0568eeb898e (diff)
downloadhostap-9e68742ef199f252329f4bc3bf4eec4234d27f7b.zip
hostap-9e68742ef199f252329f4bc3bf4eec4234d27f7b.tar.gz
hostap-9e68742ef199f252329f4bc3bf4eec4234d27f7b.tar.bz2
Fix CONFIG_NO_WPA=y build
Number of places were calling functions that are not included in CONFIG_NO_WPA=y build anymore. Comment out such calls. In addition, pull in SHA1 and MD5 for config_internal.c, if needed. Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wpa_supplicant/wpas_glue.c')
-rw-r--r--wpa_supplicant/wpas_glue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wpa_supplicant/wpas_glue.c b/wpa_supplicant/wpas_glue.c
index aaadb95..7986695 100644
--- a/wpa_supplicant/wpas_glue.c
+++ b/wpa_supplicant/wpas_glue.c
@@ -1013,7 +1013,6 @@ static void wpa_supplicant_set_rekey_offload(void *ctx,
wpa_drv_set_rekey_info(wpa_s, kek, kek_len, kck, kck_len, replay_ctr);
}
-#endif /* CONFIG_NO_WPA */
static int wpa_supplicant_key_mgmt_set_pmk(void *ctx, const u8 *pmk,
@@ -1028,6 +1027,7 @@ static int wpa_supplicant_key_mgmt_set_pmk(void *ctx, const u8 *pmk,
else
return 0;
}
+#endif /* CONFIG_NO_WPA */
int wpa_supplicant_init_wpa(struct wpa_supplicant *wpa_s)