]> git.ipfire.org Git - thirdparty/hostap.git/commit
SAE: Avoid driver STA entry removal unnecessarily when using H2E/PK
authorAloka Dixit <alokad@codeaurora.org>
Mon, 8 Feb 2021 02:49:17 +0000 (18:49 -0800)
committerJouni Malinen <j@w1.fi>
Mon, 8 Feb 2021 21:56:59 +0000 (23:56 +0200)
commit598f6713219bfd1fd8d4736c065d5bd3cc76f88c
treefddab7cc7a02fbb4904dee8586d51a7c48ac936d
parent99cd453720d6478bdb675e2b3ccfa8e733e5e978
SAE: Avoid driver STA entry removal unnecessarily when using H2E/PK

The new status code values for SAE H2E and PK resulted in the
sta->added_unassoc cases incorrectly removing the STA entry after
successful SAE commit messages. Fix this by using sae_status_success()
instead of direct check for WLAN_STATUS_SUCCESS when processing SAE
commit messages before removing station entry.

Signed-off-by: Aloka Dixit <alokad@codeaurora.org>
Signed-off-by: Pradeep Kumar Chitrapu <pradeepc@codeaurora.org>
src/ap/ieee802_11.c