From 568526f1ea6106a0b344c07f0e00132a73bfed43 Mon Sep 17 00:00:00 2001 From: Arik Nemtsov Date: Mon, 26 Sep 2011 13:55:35 +0300 Subject: [PATCH] TDLS: Use a valid dialog-token in a setup request A zero dialog-token is considered invalid by IEEE Std 802.11z-2010. Signed-off-by: Arik Nemtsov Cc: Kalyan C Gaddam --- src/rsn_supp/tdls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rsn_supp/tdls.c b/src/rsn_supp/tdls.c index e75186798..87c1a6318 100644 --- a/src/rsn_supp/tdls.c +++ b/src/rsn_supp/tdls.c @@ -972,7 +972,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);