]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Race condition in connect_cmd_concurrent_grpform_while_connecting
authorJouni Malinen <quic_jouni@quicinc.com>
Tue, 12 Dec 2023 18:47:16 +0000 (20:47 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 12 Dec 2023 18:47:16 +0000 (20:47 +0200)
Wait for AP to complete connection before running the connectivity test.

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
tests/hwsim/test_connect_cmd.py

index d101ee7052fcda26169f7531f06c42bc387445ba..341cf24128e9b3be4f2ec439c8500710648f59de 100644 (file)
@@ -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")