mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
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
@ -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 New Issue
Block a user