]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
test: Clear country config param at the end of kernel_reg_disconnect
authorJouni Malinen <j@w1.fi>
Sun, 18 Feb 2024 09:03:55 +0000 (11:03 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 18 Feb 2024 09:03:55 +0000 (11:03 +0200)
This is needed to avoid causing issues for following test cases.

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

index df563ebd278177d41017aa3e8d085084a8ba732b..75ae164021892957c633073d838939400bc6e65e 100644 (file)
@@ -150,6 +150,7 @@ def test_kernel_reg_disconnect(dev, apdev):
     finally:
         dev[0].request("DISCONNECT")
         clear_regdom(hapd, dev)
+        dev[0].set("country", "00")
 
 def test_kernel_kunit(dev, apdev):
     """KUnit tests"""