]> git.ipfire.org Git - thirdparty/hostap.git/commit - tests/hwsim/test_dpp.py
tests: Fix robustness issue in DPP test cases with SAE
authorJouni Malinen <j@w1.fi>
Sat, 25 May 2019 18:18:24 +0000 (21:18 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 25 May 2019 18:18:24 +0000 (21:18 +0300)
commitc9ead82d11e96217367fc31f34e867f091696500
treed1af8b401feff86ee1b86d6155141e4f12de64dc
parentbaf8ab8ceca0f71c694fecc4fe286a9f3b767329
tests: Fix robustness issue in DPP test cases with SAE

The sae_groups parameter needs to be cleared before attempt a SAE
connection in a test case to avoid issues with this parameter having
been left to something else than the default one by a previous test
case. This was found with the following sequence:
sae_pwe_failure dpp_auto_connect_legacy_psk_sae_1

Signed-off-by: Jouni Malinen <j@w1.fi>
tests/hwsim/test_dpp.py