From: Jouni Malinen Date: Wed, 7 Aug 2019 09:56:43 +0000 (+0300) Subject: tests: Fix ap_vht_csa_vht40 to use list of events with wait_event() X-Git-Tag: hostap_2_9~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=12c5c2404e22235bddf5f3e71a25bc9c3e10e321;p=thirdparty%2Fhostap.git tests: Fix ap_vht_csa_vht40 to use list of events with wait_event() Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/test_ap_vht.py b/tests/hwsim/test_ap_vht.py index 104f80e3d..a02820ba7 100644 --- a/tests/hwsim/test_ap_vht.py +++ b/tests/hwsim/test_ap_vht.py @@ -773,7 +773,7 @@ def test_ap_vht_csa_vht40(dev, apdev): raise Exception("CSA finished event timed out") if "freq=5765" 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=5765" not in ev: