TDLS: Do not reenable TDLS link on retransmitted setup frame
authorSunil Dutt <usdutt@qti.qualcomm.com>
Thu, 21 Nov 2013 15:37:50 +0000 (21:07 +0530)
committerJouni Malinen <j@w1.fi>
Fri, 22 Nov 2013 15:47:09 +0000 (17:47 +0200)
commit179fc5527d503c7e3588c46d7f5c133b4e5d5e3e
tree2c14ca8869cc289aeaf99f237610f6dbc091708c
parentcc14091eab7be8d7bc21a7ea18ca2d28de08822a
TDLS: Do not reenable TDLS link on retransmitted setup frame

A reenable of the TDLS link while the host driver is already processing
the same (due to the retransmitted M2/M3 frames) might result in a
failed TDLS setup handshake due to some host driver's implementation.
Thus, issue enable link only when the peer's TDLS status signifies no
prior link (tpk_success=0).

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
src/rsn_supp/tdls.c