[PATCH 1/2] tests: allow US channel 12 and 13

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Channels 12 and 13 were recently unlocked in the US.
Unbreak the scan_dfs test in case a recent regulatory
database is loaded.

Signed-off-by: Thomas Pedersen <thomas@xxxxxxxxxxxx>
---
 tests/hwsim/test_scan.py | 2 --
 1 file changed, 2 deletions(-)

diff --git a/tests/hwsim/test_scan.py b/tests/hwsim/test_scan.py
index 2e64ceec7676..cfc619dfe5ea 100644
--- a/tests/hwsim/test_scan.py
+++ b/tests/hwsim/test_scan.py
@@ -1035,8 +1035,6 @@ def _test_scan_dfs(dev, apdev, params):
         for f in freq:
             if (f >= 5260 and f <= 5320) or (f >= 5500 and f <= 5700):
                 raise Exception("Active scan on DFS channel: %d" % f)
-            if f in [2467, 2472]:
-                raise Exception("Active scan on US-disallowed channel: %d" % f)
 
 @remote_compatible
 def test_scan_abort(dev, apdev):
-- 
2.20.1


_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux