From 1d914d01d8333010c769e6b3ad777d1f380c1597 Mon Sep 17 00:00:00 2001 From: Andrei Otcheretianski Date: Wed, 22 Aug 2018 20:31:44 +0300 Subject: [PATCH] tests: Make autogo_interworking test more robust P2P related configuration should be done on a global control interface. This way this test can be reused also when a dedicated P2P device interface is used. Signed-off-by: Andrei Otcheretianski --- tests/hwsim/test_p2p_autogo.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/hwsim/test_p2p_autogo.py b/tests/hwsim/test_p2p_autogo.py index d901933aa..2a7969a1f 100644 --- a/tests/hwsim/test_p2p_autogo.py +++ b/tests/hwsim/test_p2p_autogo.py @@ -887,11 +887,11 @@ def test_autogo_interworking(dev): dev[0].set("go_interworking", "0") def run_autogo_interworking(dev): - dev[0].set("go_interworking", "1") - dev[0].set("go_access_network_type", "1") - dev[0].set("go_internet", "1") - dev[0].set("go_venue_group", "2") - dev[0].set("go_venue_type", "3") + dev[0].global_request("SET go_interworking 1") + dev[0].global_request("SET go_access_network_type 1") + dev[0].global_request("SET go_internet 1") + dev[0].global_request("SET go_venue_group 2") + dev[0].global_request("SET go_venue_type 3") res = autogo(dev[0]) bssid = dev[0].p2p_interface_addr() dev[1].scan_for_bss(bssid, freq=res['freq'])