projects
/
mech_eap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
644b24c
)
tests: Use global control interface in wait_go_ending_session()
author
Ilan Peer
<ilan.peer@intel.com>
Wed, 4 Feb 2015 09:30:13 +0000
(
04:30
-0500)
committer
Jouni Malinen
<j@w1.fi>
Thu, 5 Feb 2015 10:50:44 +0000
(12:50 +0200)
P2P_EVENT_GROUP_REMOVED is a global event, so use
wait_global_event() instead of wait_event().
Signed-off-by: Ilan Peer <ilan.peer@intel.com>
tests/hwsim/wpasupplicant.py
patch
|
blob
|
history
diff --git
a/tests/hwsim/wpasupplicant.py
b/tests/hwsim/wpasupplicant.py
index
8b69311
..
b8d153f
100644
(file)
--- a/
tests/hwsim/wpasupplicant.py
+++ b/
tests/hwsim/wpasupplicant.py
@@
-646,7
+646,7
@@
class WpaSupplicant:
except:
pass
self.gctrl_mon = None
- ev = self.wait_event(["P2P-GROUP-REMOVED"], timeout=3)
+ ev = self.wait_
global_
event(["P2P-GROUP-REMOVED"], timeout=3)
if ev is None:
raise Exception("Group removal event timed out")
if "reason=GO_ENDING_SESSION" not in ev: