From: Jouni Malinen Date: Sun, 17 Mar 2019 22:01:34 +0000 (+0200) Subject: tests: Fix mesh_sae_groups_invalid to reset sae_groups setting X-Git-Tag: hostap_2_8~181 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e71a90711d59009159f3fb564d2f5362da8d41af;p=thirdparty%2Fhostap.git tests: Fix mesh_sae_groups_invalid to reset sae_groups setting This test case did not clear a possibly modified sae_groups value from a prior test case for adev[2] and could fail if the previously set group was not supported by the AP. Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/test_wpas_mesh.py b/tests/hwsim/test_wpas_mesh.py index 3d307cc79..238109564 100644 --- a/tests/hwsim/test_wpas_mesh.py +++ b/tests/hwsim/test_wpas_mesh.py @@ -1823,6 +1823,7 @@ def test_mesh_sae_groups_invalid(dev, apdev): # wpa_s->mesh_rsn->sae_group_index. dev[0].dump_monitor() dev[1].dump_monitor() + dev[2].request("SET sae_groups ") id = add_mesh_secure_net(dev[2]) dev[2].mesh_group_add(id) check_mesh_group_added(dev[2]) @@ -1837,6 +1838,7 @@ def test_mesh_sae_groups_invalid(dev, apdev): dev[0].request("SET sae_groups ") dev[1].request("SET sae_groups ") + dev[2].request("SET sae_groups ") def test_mesh_sae_failure(dev, apdev): """Mesh and local SAE failures"""