[PATCH] tests: Set country_code=US in run_ap_vht160_no_dfs()

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

 



ap_vht160_no_dfs need no DFS, but ZA regulatory rule
did not have DFS requirement removed.

Signed-off-by: Chen Rong <chenr.fnst@xxxxxxxxxxxxxx>
---
 tests/hwsim/test_ap_vht.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/hwsim/test_ap_vht.py b/tests/hwsim/test_ap_vht.py
index f631750..d20e4fb 100644
--- a/tests/hwsim/test_ap_vht.py
+++ b/tests/hwsim/test_ap_vht.py
@@ -450,7 +450,7 @@ def run_ap_vht160_no_dfs(dev, apdev, channel, ht_capab):
     try:
         hapd = None
         params = { "ssid": "vht",
-                   "country_code": "ZA",
+                   "country_code": "US",
                    "hw_mode": "a",
                    "channel": channel,
                    "ht_capab": ht_capab,
@@ -467,7 +467,7 @@ def run_ap_vht160_no_dfs(dev, apdev, channel, ht_capab):
             reg = cmd.stdout.readlines()
             for r in reg:
                 if "5490" in r and "DFS" in r:
-                    raise HwsimSkip("ZA regulatory rule did not have DFS requirement removed")
+                    raise HwsimSkip("US regulatory rule did not have DFS requirement removed")
             raise Exception("AP setup timed out")
 
         freq = str(int(channel) * 5 + 5000)
-- 
2.9.4




_______________________________________________
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