diff --git a/tests/hwsim/test_ap_psk.py b/tests/hwsim/test_ap_psk.py index 9972554e7..5a86c72e7 100644 --- a/tests/hwsim/test_ap_psk.py +++ b/tests/hwsim/test_ap_psk.py @@ -2168,7 +2168,7 @@ def test_ap_wpa2_psk_supp_proto_msg_1_invalid_kde(dev, apdev): key_data=binascii.unhexlify('5555')) counter += 1 send_eapol(dev[0], bssid, build_eapol(msg)) - dev[0].wait_disconnected(timeout=1) + time.sleep(0.1) def test_ap_wpa2_psk_supp_proto_wrong_pairwise_key_len(dev, apdev): """WPA2-PSK supplicant protocol testing: wrong pairwise key length"""