From e71a90711d59009159f3fb564d2f5362da8d41af Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Mon, 18 Mar 2019 00:01:34 +0200 Subject: [PATCH] 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 --- tests/hwsim/test_wpas_mesh.py | 2 ++ 1 file changed, 2 insertions(+) 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"""