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>
if "WIDTH=80 MHz" not in sig:
raise Exception("Unexpected SIGNAL_POLL value(2): " + str(sig))
finally:
+ dev[0].request("REMOVE_NETWORK all")
+ dev[0].wait_disconnected()
set_country("00")
dev[0].set("country", "00")
dev[1].flush_scan_cache()