]> git.ipfire.org Git - thirdparty/hostap.git/commit
tests: Remove unnecessary second wait from connect_cmd_reject_assoc
authorJouni Malinen <jouni@codeaurora.org>
Fri, 15 Mar 2019 20:42:18 +0000 (22:42 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 15 Mar 2019 21:57:44 +0000 (23:57 +0200)
commit649038e1175bb19b875fb5dea0ac5009203a26b6
tree4fa0ffe05e29b43f3cf7da4b7c445e0f0543198c
parenta2d300765b879c5ce0ae537a9074fcc981063d46
tests: Remove unnecessary second wait from connect_cmd_reject_assoc

It does not look like there would be two CTRL-EVENT-ASSOC-REJECT events
here, so only check the first one instead of requiring both to be
received with status_code=27. This test case could fail based on the
second connection attempt (due to that extra event wait) timing out.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
tests/hwsim/test_connect_cmd.py