aboutsummaryrefslogtreecommitdiffstats
path: root/wlantest
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2011-01-19 12:00:14 (GMT)
committerJouni Malinen <j@w1.fi>2011-01-19 12:00:14 (GMT)
commit8a1cf4be21ffe223997ec28c0e9f2be362db00f2 (patch)
tree50767dfeb02d5d8a1a6305723eaf53f0000e851a /wlantest
parent2caf69247bf45ffc67054561d3cfbb1816c86e12 (diff)
downloadhostap-8a1cf4be21ffe223997ec28c0e9f2be362db00f2.zip
hostap-8a1cf4be21ffe223997ec28c0e9f2be362db00f2.tar.gz
hostap-8a1cf4be21ffe223997ec28c0e9f2be362db00f2.tar.bz2
wlantest: Add TDLS entry on TDLS Setup Request
This will make the TDLS counters available even if setup fails.
Diffstat (limited to 'wlantest')
-rw-r--r--wlantest/rx_tdls.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/wlantest/rx_tdls.c b/wlantest/rx_tdls.c
index 0fd4af6..05509b4 100644
--- a/wlantest/rx_tdls.c
+++ b/wlantest/rx_tdls.c
@@ -201,6 +201,7 @@ static void rx_data_tdls_setup_request(struct wlantest *wt, const u8 *bssid,
" initiator STA " MACSTR " responder STA " MACSTR,
MAC2STR(elems.link_id), MAC2STR(elems.link_id + ETH_ALEN),
MAC2STR(elems.link_id + 2 * ETH_ALEN));
+ get_tdls(wt, elems.link_id);
}