]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Do not require disconnection in ap_wpa2_psk_supp_proto_msg_1_invalid_kde
authorJouni Malinen <j@w1.fi>
Sat, 7 May 2022 10:40:56 +0000 (13:40 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 7 May 2022 15:54:09 +0000 (18:54 +0300)
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 <j@w1.fi>
tests/hwsim/test_ap_psk.py

index 9972554e7e19f0465951ebf025b49c087b35b6db..5a86c72e712457abbe0f6b51f737aaafbfe38103 100644 (file)
@@ -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"""