From: Jouni Malinen Date: Tue, 22 Aug 2023 16:46:44 +0000 (+0300) Subject: tests: Make sae_proto_hostapd_status_* more robust X-Git-Tag: hostap_2_11~1033 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07d3c1177bbb44fbcc3fe12cf1e8bfa50aa5fd19;p=thirdparty%2Fhostap.git tests: Make sae_proto_hostapd_status_* more robust The first MGMT-TX-STATUS event might be for the initial broadcast Deauthentication frame instead of the SAE Authentication frame. Skip the first event and try to process TX status for the first Authentication frame instead. Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/test_sae.py b/tests/hwsim/test_sae.py index ff58598b0..97361d806 100644 --- a/tests/hwsim/test_sae.py +++ b/tests/hwsim/test_sae.py @@ -1226,8 +1226,13 @@ def check_commit_status(hapd, use_status, expect_status): element_x = "559cb8928db4ce4e3cbd6555e837591995e5ebe503ef36b503d9ca519d63728d" element_y = "d3c7c676b8e8081831b6bc3a64bdf136061a7de175e17d1965bfa41983ed02f8" status = binascii.hexlify(struct.pack('