]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Remove compiler warnings if TDLS is enabled without WPA2
authorJouni Malinen <jouni@qca.qualcomm.com>
Fri, 7 Jun 2013 17:04:12 +0000 (20:04 +0300)
committerJouni Malinen <j@w1.fi>
Fri, 7 Jun 2013 17:04:12 +0000 (20:04 +0300)
Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>

wpa_supplicant/wpas_glue.c

index 40720c5e4d5b29597993731af673980d49b9a68c..61a42bd0c14e8e619c576a95bf137cf6f243a432 100644 (file)
@@ -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)
 {