aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorIlan Peer <ilan.peer@intel.com>2016-09-06 06:52:41 (GMT)
committerJouni Malinen <j@w1.fi>2016-09-22 20:46:27 (GMT)
commit7487ef144e0b95ac9397de112b93cadc9fd62b3c (patch)
tree188faea33860bfc7a316b7c4885cd935352c15b2 /tests
parent5cdd729e26e21f75522b210fa54a1820fb7d5c93 (diff)
downloadhostap-7487ef144e0b95ac9397de112b93cadc9fd62b3c.zip
hostap-7487ef144e0b95ac9397de112b93cadc9fd62b3c.tar.gz
hostap-7487ef144e0b95ac9397de112b93cadc9fd62b3c.tar.bz2
tests: Skip wpas_ap_dfs when MCC > 1
Skip wpas_ap_dfs in case that multi-channel is used, as DFS operation is not supported in such a case. Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/hwsim/test_wpas_ap.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/hwsim/test_wpas_ap.py b/tests/hwsim/test_wpas_ap.py
index 43a12c9..5e0e816 100644
--- a/tests/hwsim/test_wpas_ap.py
+++ b/tests/hwsim/test_wpas_ap.py
@@ -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: