mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 18:28:23 -05:00
tests: Fix ap_vht_csa_vht40_disable to use list of events with wait_event()
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
d371f0cbbf
commit
79b44113ec
@ -865,7 +865,7 @@ def test_ap_vht_csa_vht40_disable(dev, apdev):
|
||||
raise Exception("CSA finished event timed out")
|
||||
if "freq=5200" not in ev:
|
||||
raise Exception("Unexpected channel in CSA finished event")
|
||||
ev = dev[0].wait_event("CTRL-EVENT-CHANNEL-SWITCH", timeout=5)
|
||||
ev = dev[0].wait_event(["CTRL-EVENT-CHANNEL-SWITCH"], timeout=5)
|
||||
if ev is None:
|
||||
raise Exception("Channel switch event not seen")
|
||||
if "freq=5200" not in ev:
|
||||
|
Loading…
Reference in New Issue
Block a user