aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAloni, Adiel <adiel.aloni@intel.com>2017-08-21 16:36:23 (GMT)
committerJouni Malinen <j@w1.fi>2017-09-10 19:03:54 (GMT)
commit8031003fec52684375e1fa77020e58a196abc28a (patch)
tree9d5a097ec7fdd522434142417ac5cd251d44d412 /tests
parent783bf87144eca42ff5f75a6532c871bd734214da (diff)
downloadhostap-8031003fec52684375e1fa77020e58a196abc28a.zip
hostap-8031003fec52684375e1fa77020e58a196abc28a.tar.gz
hostap-8031003fec52684375e1fa77020e58a196abc28a.tar.bz2
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>
Diffstat (limited to 'tests')
-rw-r--r--tests/hwsim/test_p2p_autogo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/hwsim/test_p2p_autogo.py b/tests/hwsim/test_p2p_autogo.py
index 50a60df..3d154c3 100644
--- a/tests/hwsim/test_p2p_autogo.py
+++ b/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()