tests: ap_mixed_security: Give AP time to set up stations

Give the AP some time to set up stations fully (in the
kernel) so that traffic forwarding will work.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
Johannes Berg 2023-09-25 09:20:57 +02:00 committed by Jouni Malinen
parent ee74376589
commit d76dbe6c7c

View file

@ -54,6 +54,7 @@ def test_ap_mixed_security(dev, apdev):
if sae and dev[2].get_status_field("key_mgmt") != "SAE":
raise Exception("Unexpected key_mgmt(3)")
time.sleep(0.1) # give it time for AP to set up stations fully
hwsim_utils.test_connectivity(dev[0], dev[1])
if sae:
hwsim_utils.test_connectivity(dev[1], dev[2])