From d7e2d79b1a467fdba26094464706c9d261833be1 Mon Sep 17 00:00:00 2001 From: Ben Rosenfeld Date: Tue, 5 May 2015 12:36:57 +0300 Subject: [PATCH] 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 --- 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 9abd60487..65bf904c0 100644 --- a/tests/hwsim/test_p2p_persistent.py +++ b/tests/hwsim/test_p2p_persistent.py @@ -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):