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 <j@w1.fi>
This commit is contained in:
parent
963041c3cb
commit
1106833537
1 changed files with 1 additions and 1 deletions
|
@ -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'])
|
||||
|
|
Loading…
Reference in a new issue