aboutsummaryrefslogtreecommitdiffstats
path: root/src/rsn_supp/wpa.h
diff options
context:
space:
mode:
authorArik Nemtsov <arik@wizery.com>2014-06-10 18:19:04 (GMT)
committerJouni Malinen <j@w1.fi>2014-06-16 20:34:06 (GMT)
commit947f900fb8e431437bc9f8ff583a61b6624b3e72 (patch)
treedae3dff9dd81de7c158702663851ac826f11033e /src/rsn_supp/wpa.h
parent7eb33a8f994cc45134c2aea090dcf7dc6941a379 (diff)
downloadhostap-947f900fb8e431437bc9f8ff583a61b6624b3e72.zip
hostap-947f900fb8e431437bc9f8ff583a61b6624b3e72.tar.gz
hostap-947f900fb8e431437bc9f8ff583a61b6624b3e72.tar.bz2
TDLS: Handle unreachable link teardown for external setup
If a link is unreachable, the specification mandates we should send a teardown packet via the AP with a specific teardown reason. Force this by first disabling the link and only then sending the teardown packet for the LOW_ACK event. Rename the TDLS LOW_ACK event handler to better reflect its purpose. Signed-off-by: Arik Nemtsov <arikx.nemtsov@intel.com>
Diffstat (limited to 'src/rsn_supp/wpa.h')
-rw-r--r--src/rsn_supp/wpa.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rsn_supp/wpa.h b/src/rsn_supp/wpa.h
index e98967c..07a7bf9 100644
--- a/src/rsn_supp/wpa.h
+++ b/src/rsn_supp/wpa.h
@@ -385,7 +385,7 @@ int wpa_tdls_init(struct wpa_sm *sm);
void wpa_tdls_teardown_peers(struct wpa_sm *sm);
void wpa_tdls_deinit(struct wpa_sm *sm);
void wpa_tdls_enable(struct wpa_sm *sm, int enabled);
-void wpa_tdls_disable_link(struct wpa_sm *sm, const u8 *addr);
+void wpa_tdls_disable_unreachable_link(struct wpa_sm *sm, const u8 *addr);
const char * wpa_tdls_get_link_status(struct wpa_sm *sm, const u8 *addr);
int wpa_tdls_is_external_setup(struct wpa_sm *sm);