Browse Source

tests: Use global control interface in autogo_m2d test

If dedicated P2P device is used, SET p2p_no_group_iface 0 should be
directed to the P2P device.

Signed-off-by: Adiel Aloni <adiel.aloni@intel.com>
Aloni, Adiel 7 years ago
parent
commit
8031003fec
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/hwsim/test_p2p_autogo.py

+ 1 - 1
tests/hwsim/test_p2p_autogo.py

@@ -140,7 +140,7 @@ def test_autogo_m2d(dev):
     autogo(dev[0], freq=2412)
     go_addr = dev[0].p2p_dev_addr()
 
-    dev[1].request("SET p2p_no_group_iface 0")
+    dev[1].global_request("SET p2p_no_group_iface 0")
     if not dev[1].discover_peer(go_addr, social=True):
         raise Exception("GO " + go_addr + " not found")
     dev[1].dump_monitor()