tests: Fix ap_wpa2_eap_fast_eap_vendor to check EAP-FAST support in build

Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2022-04-15 13:49:19 +03:00
parent e9078209c4
commit 6c9e76e58a

View file

@ -4115,6 +4115,7 @@ def test_ap_wpa2_eap_fast_prov(dev, apdev):
def test_ap_wpa2_eap_fast_eap_vendor(dev, apdev): def test_ap_wpa2_eap_fast_eap_vendor(dev, apdev):
"""WPA2-Enterprise connection using EAP-FAST/EAP-vendor""" """WPA2-Enterprise connection using EAP-FAST/EAP-vendor"""
check_eap_capa(dev[0], "FAST")
params = hostapd.wpa2_eap_params(ssid="test-wpa2-eap") params = hostapd.wpa2_eap_params(ssid="test-wpa2-eap")
hapd = hostapd.add_ap(apdev[0], params) hapd = hostapd.add_ap(apdev[0], params)
eap_connect(dev[0], hapd, "FAST", "vendor-test-2", eap_connect(dev[0], hapd, "FAST", "vendor-test-2",