From: Jouni Malinen Date: Mon, 5 Aug 2019 10:49:15 +0000 (+0300) Subject: tests: Wait after rekeying a bit before running connectivity test X-Git-Tag: hostap_2_9~18 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d22f09024504c3e272b75d0ec7c21ed3dfe35aeb;p=thirdparty%2Fhostap.git tests: Wait after rekeying a bit before running connectivity test The AP side may not have had enough time to configure the new TK into the driver if the connectivity test is started immediately after the station side event. Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/test_ap_ft.py b/tests/hwsim/test_ap_ft.py index 1488fea66..531fb3945 100644 --- a/tests/hwsim/test_ap_ft.py +++ b/tests/hwsim/test_ap_ft.py @@ -2382,6 +2382,7 @@ def check_ptk_rekey(dev, hapd0=None, hapd1=None): hapd = hapd0 else: hapd = hapd1 + time.sleep(0.1) hwsim_utils.test_connectivity(dev, hapd) def test_ap_ft_ptk_rekey(dev, apdev):