tests: Clear country code at the end of wpas_config_file
This test case was mistakenly leaving the country code FI configured at the end which could result in issues with the following test cases. Fix this by explicitly clearing the country code back to world roaming 00 at the end of wpas_config_file. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
fcb303a57f
commit
0fcaff7a70
1 changed files with 3 additions and 0 deletions
|
@ -252,6 +252,9 @@ def test_wpas_config_file(dev, apdev, params):
|
|||
os.rmdir(config)
|
||||
except:
|
||||
pass
|
||||
wpas.dump_monitor()
|
||||
wpas.request("SET country 00")
|
||||
wpas.wait_event(["CTRL-EVENT-REGDOM-CHANGE"], timeout=1)
|
||||
|
||||
def test_wpas_config_file_wps(dev, apdev):
|
||||
"""wpa_supplicant config file parsing/writing with WPS"""
|
||||
|
|
Loading…
Reference in a new issue