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:
parent
f13de00b89
commit
d22f090245
1 changed files with 1 additions and 0 deletions
|
@ -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):
|
||||||
|
|
Loading…
Reference in a new issue