[PATCH 2/2] tests: fix p2p_autogo_pref_chan_not_in_regulatory
Thomas Pedersen
thomas at adapt-ip.com
Thu Aug 27 18:58:55 EDT 2020
Sweden now allows channel 149. Choose Japan for the
negative test instead.
Signed-off-by: Thomas Pedersen <thomas at adapt-ip.com>
---
tests/hwsim/test_p2p_channel.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/hwsim/test_p2p_channel.py b/tests/hwsim/test_p2p_channel.py
index ad1d712d644c..b83fd8606b2d 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'])
--
2.20.1
More information about the Hostap
mailing list