From 79b44113ec2edf44866d4242c61c9b72df6e1626 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Wed, 7 Aug 2019 12:55:07 +0300 Subject: [PATCH] tests: Fix ap_vht_csa_vht40_disable to use list of events with wait_event() Signed-off-by: Jouni Malinen --- tests/hwsim/test_ap_vht.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/hwsim/test_ap_vht.py b/tests/hwsim/test_ap_vht.py index fde32489c..104f80e3d 100644 --- a/tests/hwsim/test_ap_vht.py +++ b/tests/hwsim/test_ap_vht.py @@ -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: