From ae20eb1d27344e940f3a96d541e0afc1de1d6b89 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sat, 16 Dec 2023 22:59:50 +0200 Subject: [PATCH] tests: Make p2p_msg_go_neg_both_start more robust Use same listen channel on both devices to make this test somewhat more likely to succeed. Signed-off-by: Jouni Malinen --- tests/hwsim/test_p2p_messages.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tests/hwsim/test_p2p_messages.py b/tests/hwsim/test_p2p_messages.py index a4cac698b..999891f53 100644 --- a/tests/hwsim/test_p2p_messages.py +++ b/tests/hwsim/test_p2p_messages.py @@ -14,6 +14,7 @@ logger = logging.getLogger() import hostapd from p2p_utils import * from test_gas import anqp_adv_proto +from test_p2ps import set_random_listen_chan def ie_ssid(ssid): return struct.pack("