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 <jouni@codeaurora.org>
This commit is contained in:
Jouni Malinen 2019-08-05 13:49:15 +03:00 committed by Jouni Malinen
parent f13de00b89
commit d22f090245

View file

@ -2382,6 +2382,7 @@ def check_ptk_rekey(dev, hapd0=None, hapd1=None):
hapd = hapd0 hapd = hapd0
else: else:
hapd = hapd1 hapd = hapd1
time.sleep(0.1)
hwsim_utils.test_connectivity(dev, hapd) hwsim_utils.test_connectivity(dev, hapd)
def test_ap_ft_ptk_rekey(dev, apdev): def test_ap_ft_ptk_rekey(dev, apdev):