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:
parent
6259fd814b
commit
c634d320ef
1 changed files with 2 additions and 4 deletions
|
@ -82,8 +82,7 @@ def test_dfs(dev, apdev):
|
||||||
if freq != "5260":
|
if freq != "5260":
|
||||||
raise Exception("Unexpected frequency")
|
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:
|
finally:
|
||||||
subprocess.call(['sudo', 'iw', 'reg', 'set', '00'])
|
subprocess.call(['sudo', 'iw', 'reg', 'set', '00'])
|
||||||
|
|
||||||
|
@ -130,8 +129,7 @@ def test_dfs_radar(dev, apdev):
|
||||||
if freq != "5260":
|
if freq != "5260":
|
||||||
raise Exception("Unexpected frequency")
|
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:
|
finally:
|
||||||
subprocess.call(['sudo', 'iw', 'reg', 'set', '00'])
|
subprocess.call(['sudo', 'iw', 'reg', 'set', '00'])
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue