aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Pedersen <thomas@adapt-ip.com>2020-08-27 22:58:55 (GMT)
committerJouni Malinen <j@w1.fi>2020-12-02 15:25:09 (GMT)
commit95cff14c6f7e1f53f16701fad40eb69ae1156919 (patch)
tree1931d608b33ebf7b7b205cf29cdff151e9703ada
parentd83eaa351e950e11d14e856acf35acf1567c9656 (diff)
downloadhostap-master.zip
hostap-master.tar.gz
hostap-master.tar.bz2
tests: Fix p2p_autogo_pref_chan_not_in_regulatoryHEADpendingmaster
Sweden now allows channel 149 in the updated wireless-regdb. Choose Japan for the negative test instead. Signed-off-by: Thomas Pedersen <thomas@adapt-ip.com>
-rw-r--r--tests/hwsim/test_p2p_channel.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/hwsim/test_p2p_channel.py b/tests/hwsim/test_p2p_channel.py
index 87a1a24..7bbc958 100644
--- a/tests/hwsim/test_p2p_channel.py
+++ b/tests/hwsim/test_p2p_channel.py
@@ -603,7 +603,7 @@ def test_p2p_autogo_pref_chan_not_in_regulatory(dev, apdev):
raise Exception("Unexpected number of network blocks: " + str(netw))
id = netw[0]['id']
- set_country("SE", dev[0])
+ set_country("JP", dev[0])
res = autogo(dev[0], persistent=id)
if res['freq'] == "5745":
raise Exception("Unexpected channel selected(2): " + res['freq'])