From: Jouni Malinen Date: Mon, 16 Jan 2023 21:06:38 +0000 (+0200) Subject: tests: Make ap_roam_open work with S1G channels X-Git-Tag: hostap_2_11~1342 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ec277b5237fb5a23cb6976ce7f8780c497fcecce;p=thirdparty%2Fhostap.git 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 --- 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'])