diff --git a/tests/hwsim/test_dfs.py b/tests/hwsim/test_dfs.py index f14222daa..38c3373f2 100644 --- a/tests/hwsim/test_dfs.py +++ b/tests/hwsim/test_dfs.py @@ -507,7 +507,4 @@ def test_dfs_cac_restart_on_enable(dev, apdev): hapd.disable() finally: - if hapd: - hapd.request("DISABLE") - subprocess.call(['iw', 'reg', 'set', '00']) - time.sleep(0.1) + clear_regdom(hapd, dev)