TDLS: Do not start concurrent TDLS setup
authorSunil Dutt <c_duttus@qti.qualcomm.com>
Mon, 30 Sep 2013 14:38:41 +0000 (17:38 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 30 Sep 2013 14:38:41 +0000 (17:38 +0300)
commit5bfd7e91685e65977c8db72afdca0cab310f8667
tree6372a8b9fa2911bd6a6d0397222db7b6672831b0
parent33d85b63b59fcb1c460ede64ececb45c9ea2cabc
TDLS: Do not start concurrent TDLS setup

A new TDLS request shall transmit TPK M1 frame with a unique INonce.
Thus a new explicit request would fail an ongoing TDLS negotiation with
the error "TDLS: FTIE SNonce in TPK M3 does not match with FTIE SNonce
used in TPK M1" if the peer happens to receive two M1 frames before an
M3 frame. Check for the ongoing negotiation with the peer and do not
start a new one if we are already in a setup negotiation with the peer.

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