tests: Skip wpas_ap_dfs when MCC > 1
[mech_eap.git] / tests / hwsim / test_wpas_ap.py
index 43a12c9..5e0e816 100644 (file)
@@ -321,6 +321,9 @@ def test_wpas_ap_wps_disabled(dev):
 
 def test_wpas_ap_dfs(dev):
     """wpa_supplicant AP mode - DFS"""
+    if dev[0].get_mcc() > 1:
+        raise HwsimSkip("DFS is not supported with multi channel contexts")
+
     try:
         _test_wpas_ap_dfs(dev)
     finally: