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 <quic_jouni@quicinc.com>
This commit is contained in:
Jouni Malinen 2023-01-16 23:06:38 +02:00 committed by Jouni Malinen
parent 415458e2b3
commit ec277b5237

View 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'])