From 7b28c4089275707f312b9f890dc1f2574e645534 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Tue, 27 Dec 2016 20:51:07 +0200 Subject: [PATCH] tests: sae_group in hostapd STA ctrl_iface command Signed-off-by: Jouni Malinen --- tests/hwsim/test_sae.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/hwsim/test_sae.py b/tests/hwsim/test_sae.py index 6d46b33e3..c7d3169a0 100644 --- a/tests/hwsim/test_sae.py +++ b/tests/hwsim/test_sae.py @@ -40,6 +40,10 @@ def test_sae(dev, apdev): if "[WPA2-SAE-CCMP]" not in bss['flags']: raise Exception("Unexpected BSS flags: " + bss['flags']) + res = hapd.request("STA-FIRST") + if "sae_group=19" not in res.splitlines(): + raise Exception("hostapd STA output did not specify SAE group") + @remote_compatible def test_sae_password_ecc(dev, apdev): """SAE with number of different passwords (ECC)"""