From: Thomas Pedersen Date: Thu, 27 Aug 2020 22:58:55 +0000 (-0700) Subject: tests: Fix p2p_autogo_pref_chan_not_in_regulatory X-Git-Tag: hostap_2_10~737 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=95cff14c6f7e1f53f16701fad40eb69ae1156919;p=thirdparty%2Fhostap.git tests: Fix p2p_autogo_pref_chan_not_in_regulatory Sweden now allows channel 149 in the updated wireless-regdb. Choose Japan for the negative test instead. Signed-off-by: Thomas Pedersen --- diff --git a/tests/hwsim/test_p2p_channel.py b/tests/hwsim/test_p2p_channel.py index 87a1a24a7..7bbc958b9 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'])