]> git.ipfire.org Git - thirdparty/hostap.git/commit
tests: Fix regulatory domain reset in FST test case failure cases
authorJouni Malinen <jouni@qca.qualcomm.com>
Wed, 14 Oct 2015 15:34:26 +0000 (18:34 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 14 Oct 2015 15:43:26 +0000 (18:43 +0300)
commit78185978ed5bf853eb35a958dac46bef7159ce47
tree865797f326fc9b0b4462f73b9fe594c6284b32ea
parentd6afe03660ffdc6b6bee9a293a051769720060c6
tests: Fix regulatory domain reset in FST test case failure cases

send_iface_detach_request() can fail and that resulted in skipping a
call to restore_reg_domain() and leaving unexpected country
configuration for following test cases. This could result in failures,
e.g., in this sequence: fst_proto wpas_mesh_open_5ghz

Fix this by ignoring exceptions from send_iface_detach_request() and
continuing to restore regulatory domain.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
tests/hwsim/fst_module_aux.py