From: Jouni Malinen Date: Tue, 12 Dec 2023 18:47:16 +0000 (+0200) Subject: tests: Race condition in connect_cmd_concurrent_grpform_while_connecting X-Git-Tag: hostap_2_11~675 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7629ac4deff7a006702de8d3df00ae2f8119cafa;p=thirdparty%2Fhostap.git tests: Race condition in connect_cmd_concurrent_grpform_while_connecting Wait for AP to complete connection before running the connectivity test. Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/test_connect_cmd.py b/tests/hwsim/test_connect_cmd.py index d101ee705..341cf2412 100644 --- a/tests/hwsim/test_connect_cmd.py +++ b/tests/hwsim/test_connect_cmd.py @@ -119,6 +119,7 @@ def test_connect_cmd_concurrent_grpform_while_connecting(dev, apdev): wpas.dump_monitor() logger.info("Confirm AP connection after P2P group removal") + hapd.wait_sta() hwsim_utils.test_connectivity(wpas, hapd) wpas.request("DISCONNECT")