From: Jouni Malinen Date: Wed, 14 Jul 2021 09:47:02 +0000 (+0300) Subject: tests: Fix PASN tests to check for PASN support X-Git-Tag: hostap_2_10~234 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d727b5e46442de52462786838f82db9c1e2ab5ce;p=thirdparty%2Fhostap.git tests: Fix PASN tests to check for PASN support Couple of the PASN test cases did not verify whether the wpa_supplicant build used in the test included PASN support. Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/test_pasn.py b/tests/hwsim/test_pasn.py index c8bcd63f6..6f7a806f5 100644 --- a/tests/hwsim/test_pasn.py +++ b/tests/hwsim/test_pasn.py @@ -680,6 +680,8 @@ def test_pasn_ft_eap_sha384(dev, apdev): def test_pasn_sta_mic_error(dev, apdev): """PASN authentication with WPA2/CCMP AP with corrupted MIC on station""" + check_pasn_capab(dev[0]) + params = pasn_ap_params("PASN", "CCMP", "19") hapd = hostapd.add_ap(apdev[0], params) @@ -697,6 +699,8 @@ def test_pasn_sta_mic_error(dev, apdev): def test_pasn_ap_mic_error(dev, apdev): """PASN authentication with WPA2/CCMP AP with corrupted MIC on AP""" + check_pasn_capab(dev[0]) + params = pasn_ap_params("PASN", "CCMP", "19") hapd0 = hostapd.add_ap(apdev[0], params)