tests: Stop wpa_supplicant AP at end of VHT 80 MHz (US) test
The regulatory domain cannot be reset while the AP is still active. Add the appropriate commands to bring down the AP after the test, which will also make resetting the regulatory domain work. Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
This commit is contained in:
parent
6278ab7a06
commit
ab98ad397b
1 changed files with 2 additions and 0 deletions
|
@ -795,6 +795,8 @@ def run_wpas_ap_open_vht80_us(dev, freq, center_freq, ht40):
|
||||||
if "WIDTH=80 MHz" not in sig:
|
if "WIDTH=80 MHz" not in sig:
|
||||||
raise Exception("Unexpected SIGNAL_POLL value(2): " + str(sig))
|
raise Exception("Unexpected SIGNAL_POLL value(2): " + str(sig))
|
||||||
finally:
|
finally:
|
||||||
|
dev[0].request("REMOVE_NETWORK all")
|
||||||
|
dev[0].wait_disconnected()
|
||||||
set_country("00")
|
set_country("00")
|
||||||
dev[0].set("country", "00")
|
dev[0].set("country", "00")
|
||||||
dev[1].flush_scan_cache()
|
dev[1].flush_scan_cache()
|
||||||
|
|
Loading…
Reference in a new issue