]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Use global control interface in autogo_m2d test
authorAloni, Adiel <adiel.aloni@intel.com>
Mon, 21 Aug 2017 16:36:23 +0000 (19:36 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 10 Sep 2017 19:03:54 +0000 (22:03 +0300)
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>
tests/hwsim/test_p2p_autogo.py

index 50a60dff770ae683f3e5f0b5e37560cac04b8be7..3d154c3b5fa52b8761c0b415ead7d294c22ef350 100644 (file)
@@ -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()