]> git.ipfire.org Git - thirdparty/hostap.git/commit
AP: Don't increment auth_transaction upon SAE authentication failure
authorJia Ding <jiad@codeaurora.org>
Wed, 14 Jul 2021 06:59:26 +0000 (14:59 +0800)
committerJouni Malinen <j@w1.fi>
Wed, 14 Jul 2021 15:18:47 +0000 (18:18 +0300)
commit9557ba336bbcfbad8bbf70df8bec4a22eda02036
tree0c7a601465f4372e72c689d95a58018f9d2c0b0c
parent84f6492eacc257ad4ba71225007fc13e8cdfe048
AP: Don't increment auth_transaction upon SAE authentication failure

IEEE Std 802.11-2016, 12.4.7.6 specifies:

An SAE Commit message with a status code not equal to SUCCESS shall
indicate that a peer rejects a previously sent SAE Commit message.

An SAE Confirm message, with a status code not equal to SUCCESS, shall
indicate that a peer rejects a previously sent SAE Confirm message.

Thus when SAE authentication failure happens, authentication transaction
sequence number should not be incremented.

Signed-off-by: Jia Ding <jiad@codeaurora.org>
src/ap/ieee802_11.c