aboutsummaryrefslogtreecommitdiffstats
path: root/src/rsn_supp/wpa.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2016-06-23 10:31:04 (GMT)
committerJouni Malinen <j@w1.fi>2016-06-23 10:31:04 (GMT)
commit6013bbe04f138f7d5d750a3e1939732cbde0426a (patch)
treef80198f49fd30ff552fff3880a75fe79281b089e /src/rsn_supp/wpa.h
parent0e672b89e795ffb613faf17f22e78e47b268e2c5 (diff)
downloadhostap-6013bbe04f138f7d5d750a3e1939732cbde0426a.zip
hostap-6013bbe04f138f7d5d750a3e1939732cbde0426a.tar.gz
hostap-6013bbe04f138f7d5d750a3e1939732cbde0426a.tar.bz2
TDLS: Declare tdls_testing as extern in a header file
This gets rid of a sparse warning with CONFIG_TDLS_TESTING builds. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'src/rsn_supp/wpa.h')
-rw-r--r--src/rsn_supp/wpa.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/rsn_supp/wpa.h b/src/rsn_supp/wpa.h
index c89799a..0b7477f 100644
--- a/src/rsn_supp/wpa.h
+++ b/src/rsn_supp/wpa.h
@@ -418,6 +418,10 @@ int wpa_tdls_enable_chan_switch(struct wpa_sm *sm, const u8 *addr,
u8 oper_class,
struct hostapd_freq_params *freq_params);
int wpa_tdls_disable_chan_switch(struct wpa_sm *sm, const u8 *addr);
+#ifdef CONFIG_TDLS_TESTING
+extern unsigned int tdls_testing;
+#endif /* CONFIG_TDLS_TESTING */
+
int wpa_wnmsleep_install_key(struct wpa_sm *sm, u8 subelem_id, u8 *buf);
void wpa_sm_set_test_assoc_ie(struct wpa_sm *sm, struct wpabuf *buf);