Browse Source

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>
Ben Rosenfeld 10 years ago
parent
commit
d7e2d79b1a
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

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