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>
This commit is contained in:
Ben Rosenfeld 2015-05-05 12:36:59 +03:00 committed by Jouni Malinen
parent 8e751cfa05
commit 85ef1f4345

View file

@ -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()