diff --git a/tests/hwsim/test_p2ps.py b/tests/hwsim/test_p2ps.py index 4ae086878..075e440f7 100644 --- a/tests/hwsim/test_p2ps.py +++ b/tests/hwsim/test_p2ps.py @@ -995,6 +995,8 @@ def test_p2ps_wildcard_p2ps(dev): if res is None: raise Exception("Unable to remove the advertisement instance 2") + dev[1].p2p_stop_find() + time.sleep(0.1) if "OK" not in dev[1].global_request("P2P_FIND 10 type=social seek=" + p2ps_wildcard): raise Exception("Failed on P2P_FIND command")