]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Clear country configuration at the end of wpas_ap_async_fail
authorJouni Malinen <j@w1.fi>
Sun, 13 Mar 2022 16:26:08 +0000 (18:26 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 13 Mar 2022 16:26:45 +0000 (18:26 +0200)
This was causing a failure in the following sequence:
wpas_ap_async_fail wpas_ctrl_country

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

index 31911103ac372c2fbac341c7785a2b6c5254352c..5c562c70312d46651b5c2d1ccc61149ca6390b87 100644 (file)
@@ -835,6 +835,7 @@ def test_wpas_ap_async_fail(dev):
             dev[0].select_network(id)
             dev[0].wait_disconnected()
     finally:
+        dev[0].set("country", "00")
         clear_regdom_dev(dev)
 
 def test_wpas_ap_sae(dev):