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>
Sun, 15 Sep 2013 19:09:40 +0000 (12:09 -0700)
commit1380fcbd9f526913d5e984c52dadda867ad9b364
treeaa8ff0c5a7515732eabc777f157a300864c62195
parent8a658f2bdf1b9134cf5af2128cdfe2b348ce6639
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