diff --git a/tests/hwsim/test_ap_hs20.py b/tests/hwsim/test_ap_hs20.py index b06078978..60dd7d31e 100644 --- a/tests/hwsim/test_ap_hs20.py +++ b/tests/hwsim/test_ap_hs20.py @@ -1682,7 +1682,7 @@ def test_ap_hs20_session_info(dev, apdev): ev = dev[0].wait_event(["CTRL-EVENT-SCAN-STARTED"]) if ev is None: raise Exception("Scan not started") - ev = dev[0].wait_event(["CTRL-EVENT-SCAN-RESULTS"]) + ev = dev[0].wait_event(["CTRL-EVENT-SCAN-RESULTS"], timeout=30) if ev is None: raise Exception("Scan not completed")