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 <andrei.otcheretianski@xxxxxxxxx> --- 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 d901933..2a7969a 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']) -- 2.7.4 _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap