From 0208e8329ddf45d41e3c5c9fe897317d12c79a0f Mon Sep 17 00:00:00 2001 From: Ben Rosenfeld Date: Wed, 17 Jun 2015 16:24:47 +0300 Subject: [PATCH] tests: Use global interface for "P2P_SET" Setting P2P per_sta_psk should be done using the global control interface. Signed-off-by: Ben Rosenfeld --- tests/hwsim/test_p2p_persistent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/hwsim/test_p2p_persistent.py b/tests/hwsim/test_p2p_persistent.py index 22e7c7bd1..baf73e20b 100644 --- a/tests/hwsim/test_p2p_persistent.py +++ b/tests/hwsim/test_p2p_persistent.py @@ -174,7 +174,7 @@ def test_persistent_group_per_sta_psk(dev): addr0 = dev[0].p2p_dev_addr() addr1 = dev[1].p2p_dev_addr() addr2 = dev[2].p2p_dev_addr() - dev[0].request("P2P_SET per_sta_psk 1") + dev[0].global_request("P2P_SET per_sta_psk 1") logger.info("Form a persistent group") [i_res, r_res] = go_neg_pin_authorized_persistent(i_dev=dev[0], i_intent=15, r_dev=dev[1], r_intent=0)