aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/events.c
diff options
context:
space:
mode:
authorSunil Dutt <duttus@codeaurora.org>2013-01-22 12:09:54 (GMT)
committerJouni Malinen <j@w1.fi>2013-01-22 12:09:54 (GMT)
commitf2e698de7e8170a73d7b1e70f8a0e6dce9441e34 (patch)
tree037fd236fa49294db1e0e05a18717f5de5b631b9 /wpa_supplicant/events.c
parent0321bcdfa8466ae97da77cbc1998b31b53b1ee59 (diff)
downloadhostap-f2e698de7e8170a73d7b1e70f8a0e6dce9441e34.zip
hostap-f2e698de7e8170a73d7b1e70f8a0e6dce9441e34.tar.gz
hostap-f2e698de7e8170a73d7b1e70f8a0e6dce9441e34.tar.bz2
TDLS: Disable the link also on driver request for teardown
The link was not disabled for the case of implicit trigger from the driver unlike in the case of explicit trigger fromc ctrl_iface. Make the tear down sequences match in these cases by adding the TDLS_DISABLE_LINK tdls_oper to the driver when processing the TDLS_REQUEST_TEARDOWN event. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/events.c')
-rw-r--r--wpa_supplicant/events.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wpa_supplicant/events.c b/wpa_supplicant/events.c
index 983f670..7fe9c7f 100644
--- a/wpa_supplicant/events.c
+++ b/wpa_supplicant/events.c
@@ -2137,7 +2137,7 @@ static void wpa_supplicant_event_tdls(struct wpa_supplicant *wpa_s,
wpa_tdls_start(wpa_s->wpa, data->tdls.peer);
break;
case TDLS_REQUEST_TEARDOWN:
- wpa_tdls_send_teardown(wpa_s->wpa, data->tdls.peer,
+ wpa_tdls_teardown_link(wpa_s->wpa, data->tdls.peer,
data->tdls.reason_code);
break;
}