From ec277b5237fb5a23cb6976ce7f8780c497fcecce Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Mon, 16 Jan 2023 23:06:38 +0200 Subject: [PATCH] tests: Make ap_roam_open work with S1G channels If mac80211_hwsim has S1G channels enabled, the 15 second timeout was not sufficiently long for full scan while connected. Signed-off-by: Jouni Malinen --- tests/hwsim/test_ap_roam.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/hwsim/test_ap_roam.py b/tests/hwsim/test_ap_roam.py index 63f8fa809..0e72cf900 100644 --- a/tests/hwsim/test_ap_roam.py +++ b/tests/hwsim/test_ap_roam.py @@ -20,7 +20,7 @@ def test_ap_roam_open(dev, apdev): dev[0].connect("test-open", key_mgmt="NONE") hwsim_utils.test_connectivity(dev[0], hapd0) hapd1 = hostapd.add_ap(apdev[1], {"ssid": "test-open"}) - dev[0].scan(type="ONLY") + dev[0].scan(type="ONLY", timeout=30) dev[0].roam(apdev[1]['bssid']) hwsim_utils.test_connectivity(dev[0], hapd1) dev[0].roam(apdev[0]['bssid'])