From: Jouni Malinen Date: Sat, 16 Dec 2023 20:59:50 +0000 (+0200) Subject: tests: Make p2p_msg_go_neg_both_start more robust X-Git-Tag: hostap_2_11~647 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae20eb1d27344e940f3a96d541e0afc1de1d6b89;p=thirdparty%2Fhostap.git 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 --- 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("