[PATCH 01/16] tests: use global interface for "P2P_SET"

Ilan Peer ilan.peer
Wed Jun 17 06:24:47 PDT 2015


From: Ben Rosenfeld <ben.rosenfeld at intel.com>

Setting p2p per_sta_psk should be done using the global control interface.

Signed-off-by: Ben Rosenfeld <ben.rosenfeld at intel.com>
---
 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 22e7c7b..baf73e2 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)
-- 
1.9.1




More information about the Hostap mailing list