From: Ilan Peer Date: Tue, 6 Sep 2016 06:52:41 +0000 (+0300) Subject: tests: Skip wpas_ap_dfs when MCC > 1 X-Git-Tag: hostap_2_6~40 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=mech_eap.git;a=commitdiff_plain;h=7487ef144e0b95ac9397de112b93cadc9fd62b3c 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 --- 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: