]> git.ipfire.org Git - thirdparty/hostap.git/commit
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)
committerJouni Malinen <j@w1.fi>
Fri, 1 Nov 2013 14:36:34 +0000 (16:36 +0200)
commitffed8f8b4621b0091552af4e3011be682f62df78
tree1936ea7d4caa81ffb0c2e6a7678862c1b65cbd41
parentae22dcb5db2b286f1e2e43be497a3881ab4a9e9f
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