tests: Clear regdom state in go_neg_forced_freq_diff_than_bss_freq
Be more careful with cleaning up the regdom state in cfg80211. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
5a5529c9f4
commit
7f90a850ff
1 changed files with 3 additions and 1 deletions
|
@ -464,8 +464,10 @@ def test_go_neg_forced_freq_diff_than_bss_freq(dev, apdev):
|
||||||
raise Exception("GO not selected according to go_intent")
|
raise Exception("GO not selected according to go_intent")
|
||||||
hwsim_utils.test_connectivity(wpas, hapd)
|
hwsim_utils.test_connectivity(wpas, hapd)
|
||||||
|
|
||||||
wpas.request("DISCONNECT")
|
|
||||||
hapd.request("DISABLE")
|
hapd.request("DISABLE")
|
||||||
|
wpas.request("DISCONNECT")
|
||||||
|
wpas.request("ABORT_SCAN")
|
||||||
|
wpas.wait_disconnected()
|
||||||
subprocess.call(['iw', 'reg', 'set', '00'])
|
subprocess.call(['iw', 'reg', 'set', '00'])
|
||||||
wpas.flush_scan_cache()
|
wpas.flush_scan_cache()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue