OSDN Git Service

TDLS: Do not modify RNonce for an TPK M1 frame with same INonce
authorSunil Dutt <c_duttus@qti.qualcomm.com>
Sun, 15 Sep 2013 19:09:40 +0000 (12:09 -0700)
committerDmitry Shmidt <dimitrysh@google.com>
Mon, 30 Sep 2013 20:26:28 +0000 (13:26 -0700)
commit6102472da23e48cb1406b87ec767f4fd9a40a85d
tree1936ea7d4caa81ffb0c2e6a7678862c1b65cbd41
parentadce9cf73c2237aff40a49fc3d0b315711f291d8
TDLS: Do not modify RNonce for an TPK M1 frame with same INonce

There is no point in updating the RNonce for every obtained TPK M1 frame
(e.g., retransmission due to timeout) with the same INonce (SNonce in
FTIE). Update RNonce only if a TPK M1 is received with a different
INonce (new TDLS session) to avoid issues with two setup exchanges
getting mixed and exchange failing due to mismatching nonces ("TDLS:
FTIE ANonce in TPK M3 does not match with FTIE ANonce used in TPK M2").

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