diff mbox series

[11/12] tests: P2P: also wait in go_neg_pbc()

Message ID 20231225102109.2853783-12-andrei.otcheretianski@intel.com
State Accepted
Headers show
Series Various hwsim fixes | expand

Commit Message

Andrei Otcheretianski Dec. 25, 2023, 10:21 a.m. UTC
From: Johannes Berg <johannes.berg@intel.com>

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 | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/tests/hwsim/p2p_utils.py b/tests/hwsim/p2p_utils.py
index 31d0f74a41..fe115e0ab8 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]