tests: Change persistent_group_per_sta_psk to use global interface

This is required for cases that a dedicated P2P Device interface
is used and then the event will happen on the global interface.

Signed-off-by: Ben Rosenfeld <ben.rosenfeld@intel.com>
This commit is contained in:
Ben Rosenfeld 2015-05-05 12:36:57 +03:00 committed by Jouni Malinen
parent cbeab59c9f
commit d7e2d79b1a

View File

@ -219,7 +219,7 @@ def test_persistent_group_per_sta_psk(dev):
logger.info("Leave persistent group and rejoin it")
dev[2].remove_group()
ev = dev[2].wait_event(["P2P-GROUP-REMOVED"], timeout=3)
ev = dev[2].wait_global_event(["P2P-GROUP-REMOVED"], timeout=3)
if ev is None:
raise Exception("Group removal event timed out")
if not dev[2].discover_peer(addr0, social=True):