tests: Re-enable DFS connection check

It looks like association with DFS works fine with the current kernel
version, so re-enable this part of the DFS test cases.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
Jouni Malinen 2014-10-08 18:27:12 +03:00 committed by Jouni Malinen
parent 6259fd814b
commit c634d320ef

View file

@ -82,8 +82,7 @@ def test_dfs(dev, apdev):
if freq != "5260":
raise Exception("Unexpected frequency")
#TODO: need to fix hwsim for DFS?!
#dev[0].connect("dfs", key_mgmt="NONE")
dev[0].connect("dfs", key_mgmt="NONE")
finally:
subprocess.call(['sudo', 'iw', 'reg', 'set', '00'])
@ -130,8 +129,7 @@ def test_dfs_radar(dev, apdev):
if freq != "5260":
raise Exception("Unexpected frequency")
#TODO: need to fix hwsim for DFS?!
#dev[0].connect("dfs", key_mgmt="NONE")
dev[0].connect("dfs", key_mgmt="NONE")
finally:
subprocess.call(['sudo', 'iw', 'reg', 'set', '00'])