From 1106833537b6286581532b467a0048075e17e2b0 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sun, 25 Dec 2016 01:09:06 +0200 Subject: [PATCH] tests: Fix p2p_autogo_pref_chan_not_in_regulatory with new regdb 5745 MHz was added as an allowed short range device range in wireless-regdb for DE which made this test case fail. Fix it for now by using SE instead of DE for the second part of the test case. Signed-off-by: Jouni Malinen --- 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 011b95665..05dc0dc5f 100644 --- a/tests/hwsim/test_p2p_channel.py +++ b/tests/hwsim/test_p2p_channel.py @@ -538,7 +538,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("DE", dev[0]) + set_country("SE", dev[0]) res = autogo(dev[0], persistent=id) if res['freq'] == "5745": raise Exception("Unexpected channel selected(2): " + res['freq']) -- 2.47.3