]> git.ipfire.org Git - thirdparty/hostap.git/commit
wlantest: Select correct TDLS context if multiple exists
authorJouni Malinen <j@w1.fi>
Sun, 26 May 2013 18:46:54 +0000 (21:46 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 26 May 2013 19:14:00 +0000 (22:14 +0300)
commitace4e460e52bb2195999e155be6c256280e26a07
treec12d25c88fea84a4df7d5d7510d590424dc57c22
parent4ac800db822ebeb133bac4f4a947c2ff94eb3343
wlantest: Select correct TDLS context if multiple exists

Some corner cases may result in both directions of TDLS tracking context
existing. If that is the case, the incorrect one may end up getting
picked when figuring out which TK to use for decryption or fix
statistics counter to increment. Fix this by preferring the context that
has TDLS link up.

Signed-hostap: Jouni Malinen <j@w1.fi>
wlantest/rx_data.c