[PATCH 15/18] tests: Use global control interface to remove P2P networks

andrei.otcheretianski at intel.com andrei.otcheretianski at intel.com
Mon Sep 5 07:33:08 PDT 2016


From: Ilan Peer <ilan.peer at intel.com>

In test_persistent_group_peer_dropped3() use the global control
interface to remove P2P networks, to support configurations that
use a dedicated P2P Device interface.

Signed-off-by: Ilan Peer <ilan.peer 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 3c72892..673fda3 100644
--- a/tests/hwsim/test_p2p_persistent.py
+++ b/tests/hwsim/test_p2p_persistent.py
@@ -657,7 +657,7 @@ def test_persistent_group_peer_dropped3(dev):
     invite_from_cli(dev[0], dev[1])
 
     logger.info("Remove group on the GO and try to invite from the client")
-    dev[0].request("REMOVE_NETWORK all")
+    dev[0].global_request("REMOVE_NETWORK all")
     invite(dev[1], dev[0], use_listen=False)
     ev = dev[1].wait_global_event(["P2P-INVITATION-RESULT"], timeout=10)
     if ev is None:
-- 
1.9.1




More information about the Hostap mailing list