]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Make ap_roam_open work with S1G channels
authorJouni Malinen <quic_jouni@quicinc.com>
Mon, 16 Jan 2023 21:06:38 +0000 (23:06 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 16 Jan 2023 21:06:38 +0000 (23:06 +0200)
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 <quic_jouni@quicinc.com>
tests/hwsim/test_ap_roam.py

index 63f8fa8099ec3a5fa3af5e47474e5bb35de5c09c..0e72cf900156cc8aba055f06069fb741292311e6 100644 (file)
@@ -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'])