[RFC 13/13] TDLS: use a valid dialog-token in a setup request
Arik Nemtsov
arik
Thu Sep 15 03:22:31 PDT 2011
A zero dialog-token is considered invalid by the TDLS specification.
Signed-off-by: Arik Nemtsov <arik at wizery.com>
Cc: Kalyan C Gaddam <chakkal at iit.edu>
---
src/rsn_supp/tdls.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/rsn_supp/tdls.c b/src/rsn_supp/tdls.c
index 9e339aa..4c943a4 100644
--- a/src/rsn_supp/tdls.c
+++ b/src/rsn_supp/tdls.c
@@ -1060,7 +1060,7 @@ skip_ies:
"Handshake Message 1 (peer " MACSTR ")",
MAC2STR(peer->addr));
- wpa_tdls_tpk_send(sm, peer->addr, WLAN_TDLS_SETUP_REQUEST, 0, 0,
+ wpa_tdls_tpk_send(sm, peer->addr, WLAN_TDLS_SETUP_REQUEST, 1, 0,
rbuf, pos - rbuf);
os_free(rbuf);
--
1.7.4.1
More information about the Hostap
mailing list