Browse Source

tests: Use global interface in persistent_group_invite_removed_client

When removing a persistent P2P group, global interface needs to be used.

Signed-off-by: Ben Rosenfeld <ben.rosenfeld@intel.com>
Ben Rosenfeld 10 years ago
parent
commit
85ef1f4345
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/hwsim/test_p2p_persistent.py

+ 1 - 1
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()