[PATCH] Fix mesh_secure_ocv_mix_ht failure
Masashi Honma
masashi.honma at gmail.com
Fri May 8 16:18:22 PDT 2026
When running the tests with ./vm-run.sh -f wpas_mesh, mesh_secure_ocv_mix_ht
fails.
Exception during test execution: Test exception: CAC did not start
Traceback (most recent call last):
File "/home/honma/git/hostap/tests/hwsim/./run-tests.py", line 635, in main
t(dev, apdev)
File "/home/honma/git/hostap/tests/hwsim/test_wpas_mesh.py", line 515, in test_mesh_secure_ocv_mix_ht
run_mesh_secure_ocv_mix_ht(dev, apdev)
File "/home/honma/git/hostap/tests/hwsim/test_wpas_mesh.py", line 528, in run_mesh_secure_ocv_mix_ht
check_dfs_started(dev[0])
File "/home/honma/git/hostap/tests/hwsim/test_wpas_mesh.py", line 90, in check_dfs_started
raise Exception("Test exception: CAC did not start")
Exception: Test exception: CAC did not start
FAIL mesh_secure_ocv_mix_ht 11.329875 2026-05-08 23:09:31.926804
However, it succeeds when executed individually using
./vm-run.sh mesh_secure_ocv_mix_ht. This patch fixes the test by resetting the
country code.
Assisted-by: Claude:Sonnet 4.6
Signed-off-by: Masashi Honma <masashi.honma at gmail.com>
---
tests/hwsim/test_wpas_mesh.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/hwsim/test_wpas_mesh.py b/tests/hwsim/test_wpas_mesh.py
index 3be63fe0b..72a2f460a 100644
--- a/tests/hwsim/test_wpas_mesh.py
+++ b/tests/hwsim/test_wpas_mesh.py
@@ -477,6 +477,8 @@ def set_reg(dev, country):
def clear_reg_setting(dev):
dev[0].request("MESH_GROUP_REMOVE " + dev[0].ifname)
dev[1].request("MESH_GROUP_REMOVE " + dev[1].ifname)
+ dev[0].set("country", "00")
+ dev[1].set("country", "00")
clear_regdom_dev(dev)
dev[0].flush_scan_cache()
dev[1].flush_scan_cache()
--
2.43.0
More information about the Hostap
mailing list