From d727b5e46442de52462786838f82db9c1e2ab5ce Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Wed, 14 Jul 2021 12:47:02 +0300 Subject: [PATCH] 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 --- tests/hwsim/test_pasn.py | 4 ++++ 1 file changed, 4 insertions(+) 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)