From d22f09024504c3e272b75d0ec7c21ed3dfe35aeb Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Mon, 5 Aug 2019 13:49:15 +0300 Subject: [PATCH] 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 --- tests/hwsim/test_ap_ft.py | 1 + 1 file changed, 1 insertion(+) 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):