mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
tests: Fix eap_proto_otp to use list of events with wait_event()
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
c4a9610e8f
commit
d371f0cbbf
@ -1735,7 +1735,7 @@ def test_eap_proto_otp(dev, apdev):
|
||||
raise Exception("Request for password timed out")
|
||||
id = ev.split(':')[0].split('-')[-1]
|
||||
dev[0].request("CTRL-RSP-OTP-" + id + ":password")
|
||||
ev = dev[0].wait_event("CTRL-EVENT-EAP-SUCCESS")
|
||||
ev = dev[0].wait_event(["CTRL-EVENT-EAP-SUCCESS"])
|
||||
if ev is None:
|
||||
raise Exception("Success not reported")
|
||||
finally:
|
||||
|
Loading…
Reference in New Issue
Block a user