mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-01-17 18:34:03 -05:00
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
@ -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'])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user