]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: P2P: Also wait in go_neg_pbc()
authorJohannes Berg <johannes.berg@intel.com>
Mon, 25 Dec 2023 10:21:08 +0000 (12:21 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 13 Jan 2024 18:09:52 +0000 (20:09 +0200)
Similar to other changes like this, wait a bit before
connectivity checks in go_neg_pbc().

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
tests/hwsim/p2p_utils.py

index 31d0f74a41b69d27932670904a83c7c8e71cb669..fe115e0ab82e7dd817bb69b02382cfce0279d69e 100644 (file)
@@ -374,6 +374,7 @@ def go_neg_pbc(i_dev, r_dev, i_intent=None, r_intent=None, i_freq=None,
         raise Exception("go_neg_init_pbc thread failed")
     logger.debug("i_res: " + str(i_res))
     logger.info("Group formed")
+    time.sleep(0.1)
     hwsim_utils.test_connectivity_p2p(r_dev, i_dev)
     i_dev.dump_monitor()
     return [i_res, r_res]