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 <j@w1.fi>
This commit is contained in:
parent
96ad141e6c
commit
e71a90711d
1 changed files with 2 additions and 0 deletions
|
@ -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"""
|
||||
|
|
Loading…
Reference in a new issue