]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Fix p2p_autogo_pref_chan_not_in_regulatory
authorThomas Pedersen <thomas@adapt-ip.com>
Thu, 27 Aug 2020 22:58:55 +0000 (15:58 -0700)
committerJouni Malinen <j@w1.fi>
Wed, 2 Dec 2020 15:25:09 +0000 (17:25 +0200)
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>
tests/hwsim/test_p2p_channel.py

index 87a1a24a73d48519a787a5a9f5f14446f0319bed..7bbc958b9f81518f8f320bd14629f8d9c528d4a7 100644 (file)
@@ -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'])