]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Re-enable DFS connection check
authorJouni Malinen <jouni@qca.qualcomm.com>
Wed, 8 Oct 2014 15:27:12 +0000 (18:27 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 8 Oct 2014 15:27:12 +0000 (18:27 +0300)
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>
tests/hwsim/test_dfs.py

index ff6dc3e452858587b6f12702c284788bb890368b..f929d45450b9de2fe173ee6de63633889f940391 100644 (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'])