[PATCH 11/17] tests: change persistent_group_invite_removed_client() to use global interface

Ilan Peer ilan.peer at intel.com
Tue May 5 05:36:59 EDT 2015


From: Ben Rosenfeld <ben.rosenfeld at intel.com>

When removing a p2p_group, global interface should be used.

Signed-off-by: Ben Rosenfeld <ben.rosenfeld 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 65bbc31..24e9641 100644
--- a/tests/hwsim/test_p2p_persistent.py
+++ b/tests/hwsim/test_p2p_persistent.py
@@ -330,7 +330,7 @@ def test_persistent_group_invite_removed_client(dev):
         raise Exception("Group removal event timed out")
     if "reason=PSK_FAILURE" not in ev:
         raise Exception("Unexpected group removal reason")
-    dev[1].request("REMOVE_NETWORK " + id)
+    dev[1].global_request("REMOVE_NETWORK " + id)
 
     logger.info("Re-invite after client removed persistent group info")
     dev[1].p2p_listen()
-- 
1.9.1



More information about the HostAP mailing list