TDLS: Handle unreachable link teardown for external setup
authorArik Nemtsov <arik@wizery.com>
Tue, 10 Jun 2014 18:19:04 +0000 (21:19 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 16 Jun 2014 20:34:06 +0000 (23:34 +0300)
commit947f900fb8e431437bc9f8ff583a61b6624b3e72
treedae3dff9dd81de7c158702663851ac826f11033e
parent7eb33a8f994cc45134c2aea090dcf7dc6941a379
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>
src/rsn_supp/tdls.c
src/rsn_supp/wpa.h
wpa_supplicant/events.c