From: Johannes Berg Date: Mon, 25 Sep 2023 07:20:57 +0000 (+0200) Subject: tests: ap_mixed_security: Give AP time to set up stations X-Git-Tag: hostap_2_11~924 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d76dbe6c7cb06cd0bc93a4a136d6a377053e0b02;p=thirdparty%2Fhostap.git 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 --- diff --git a/tests/hwsim/test_ap_mixed.py b/tests/hwsim/test_ap_mixed.py index e758ae923..45c14f962 100644 --- a/tests/hwsim/test_ap_mixed.py +++ b/tests/hwsim/test_ap_mixed.py @@ -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])