From: Johannes Berg Date: Mon, 25 Dec 2023 10:21:08 +0000 (+0200) Subject: tests: P2P: Also wait in go_neg_pbc() X-Git-Tag: hostap_2_11~524 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb90e42c3792f4d94c75974e711be61222232235;p=thirdparty%2Fhostap.git tests: P2P: Also wait in go_neg_pbc() Similar to other changes like this, wait a bit before connectivity checks in go_neg_pbc(). Signed-off-by: Johannes Berg --- diff --git a/tests/hwsim/p2p_utils.py b/tests/hwsim/p2p_utils.py index 31d0f74a4..fe115e0ab 100644 --- a/tests/hwsim/p2p_utils.py +++ b/tests/hwsim/p2p_utils.py @@ -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]