From 296670aa94ccf7b1c74b2e76e288fda83c7ee723 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sun, 17 Mar 2019 21:38:34 +0200 Subject: [PATCH] tests: ap_mixed_security to use SAE capability from the correct station Signed-off-by: Jouni Malinen --- tests/hwsim/test_ap_mixed.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/hwsim/test_ap_mixed.py b/tests/hwsim/test_ap_mixed.py index a65d43b9d..3cab53ef8 100644 --- a/tests/hwsim/test_ap_mixed.py +++ b/tests/hwsim/test_ap_mixed.py @@ -15,7 +15,7 @@ def test_ap_mixed_security(dev, apdev): """WPA/WPA2 with PSK, EAP, SAE, FT in a single BSS""" skip_with_fips(dev[0]) dev[0].flush_scan_cache() - sae = "SAE" in dev[0].get_capability("auth_alg") + sae = "SAE" in dev[2].get_capability("auth_alg") ssid = "test-mixed" passphrase = 'qwertyuiop' params = hostapd.wpa_mixed_params(ssid=ssid, passphrase=passphrase)