OSDN Git Service

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)
committerDmitry Shmidt <dimitrysh@google.com>
Mon, 30 Sep 2013 20:26:59 +0000 (13:26 -0700)
commit73b28cc4bd1d5efa3534ad9e28365fea9a62ffd3
tree196a66a846e46b94b427ab21290bd36395e255ed
parent8b43e82b5aa16d167d3e2696b7827c412b0e0a00
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