wlantest: Maintain only a single entry for an active direct link
authorJouni Malinen <jouni.malinen@atheros.com>
Mon, 24 Jan 2011 12:26:35 +0000 (14:26 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 24 Jan 2011 12:34:45 +0000 (14:34 +0200)
commit0d2e395d74e5d4a77faad08bedb8609209ea0a12
tree803ebddc417155ec193f67f294751f209206d793
parenteb4923fdae82a8d9609762bfc87d3012e9f29414
wlantest: Maintain only a single entry for an active direct link

The TDLS link itself is bidirectional, but there is explicit
initiator/responder roles. Remove the other direction of the link if it
exists when processing TDLS Setup Confirm to make sure that the link
counters are stored for the current TDLS entery.

This is also changing the control interface search for TDLS counters
to require initiator/responder addresses in the correct order instead
of matching entries regardless of the role.
wlantest/bss.c
wlantest/ctrl.c
wlantest/rx_tdls.c
wlantest/wlantest.h