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:
Jouni Malinen 2019-01-01 16:35:42 +02:00
parent 5a5529c9f4
commit 7f90a850ff

View file

@ -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")
hwsim_utils.test_connectivity(wpas, hapd)
wpas.request("DISCONNECT")
hapd.request("DISABLE")
wpas.request("DISCONNECT")
wpas.request("ABORT_SCAN")
wpas.wait_disconnected()
subprocess.call(['iw', 'reg', 'set', '00'])
wpas.flush_scan_cache()