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>
This commit is contained in:
Ilan Peer 2016-09-06 09:52:41 +03:00 committed by Jouni Malinen
parent 5cdd729e26
commit 7487ef144e

View 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: