aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wpas_glue.c
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2013-06-07 17:04:12 (GMT)
committerJouni Malinen <j@w1.fi>2013-06-07 17:04:12 (GMT)
commit9aaa6955a8482514fd1cca70915fae7f0caa1ce8 (patch)
treee98cc99fb031acbf5865ac88c85da530efa3d4cb /wpa_supplicant/wpas_glue.c
parent84ae1d44ca5120006650932d745f08288dfc5c8c (diff)
downloadhostap-9aaa6955a8482514fd1cca70915fae7f0caa1ce8.zip
hostap-9aaa6955a8482514fd1cca70915fae7f0caa1ce8.tar.gz
hostap-9aaa6955a8482514fd1cca70915fae7f0caa1ce8.tar.bz2
Remove compiler warnings if TDLS is enabled without WPA2
Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/wpas_glue.c')
-rw-r--r--wpa_supplicant/wpas_glue.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/wpa_supplicant/wpas_glue.c b/wpa_supplicant/wpas_glue.c
index 40720c5..61a42bd 100644
--- a/wpa_supplicant/wpas_glue.c
+++ b/wpa_supplicant/wpas_glue.c
@@ -513,8 +513,6 @@ static int wpa_supplicant_mark_authenticated(void *ctx, const u8 *target_ap)
}
#endif /* CONFIG_IEEE80211R */
-#endif /* CONFIG_NO_WPA */
-
#ifdef CONFIG_TDLS
@@ -596,6 +594,8 @@ static int wpa_supplicant_tdls_peer_addset(
#endif /* CONFIG_TDLS */
+#endif /* CONFIG_NO_WPA */
+
enum wpa_ctrl_req_type wpa_supplicant_ctrl_req_from_string(const char *field)
{