]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: ap_mixed_security to use SAE capability from the correct station
authorJouni Malinen <j@w1.fi>
Sun, 17 Mar 2019 19:38:34 +0000 (21:38 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 17 Mar 2019 19:38:34 +0000 (21:38 +0200)
Signed-off-by: Jouni Malinen <j@w1.fi>
tests/hwsim/test_ap_mixed.py

index a65d43b9d2c969413fcf472f35b68680069a5d94..3cab53ef85451b9fa722b417d4196c336eee6de1 100644 (file)
@@ -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)