Browse Source

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 <ben.rosenfeld@intel.com>
Ben Rosenfeld 9 years ago
parent
commit
0208e8329d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/hwsim/test_p2p_persistent.py

+ 1 - 1
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)