mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 18:28:23 -05:00
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 <thomas@adapt-ip.com>
This commit is contained in:
parent
d83eaa351e
commit
95cff14c6f
@ -603,7 +603,7 @@ def test_p2p_autogo_pref_chan_not_in_regulatory(dev, apdev):
|
|||||||
raise Exception("Unexpected number of network blocks: " + str(netw))
|
raise Exception("Unexpected number of network blocks: " + str(netw))
|
||||||
id = netw[0]['id']
|
id = netw[0]['id']
|
||||||
|
|
||||||
set_country("SE", dev[0])
|
set_country("JP", dev[0])
|
||||||
res = autogo(dev[0], persistent=id)
|
res = autogo(dev[0], persistent=id)
|
||||||
if res['freq'] == "5745":
|
if res['freq'] == "5745":
|
||||||
raise Exception("Unexpected channel selected(2): " + res['freq'])
|
raise Exception("Unexpected channel selected(2): " + res['freq'])
|
||||||
|
Loading…
Reference in New Issue
Block a user