From: Jouni Malinen Date: Sat, 7 May 2022 10:40:56 +0000 (+0300) Subject: tests: Do not require disconnection in ap_wpa2_psk_supp_proto_msg_1_invalid_kde X-Git-Tag: hostap_2_11~1942 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f8967ece232e1db4549d64248a14684bd9448439;p=thirdparty%2Fhostap.git tests: Do not require disconnection in ap_wpa2_psk_supp_proto_msg_1_invalid_kde The wpa_supplicant implementation for this functionality is going to be changed to not require disconnection, so prepare the test case to not fail. Signed-off-by: Jouni Malinen --- 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"""