Flush scan results to avoid failure caused by incorrect channel
selection based on an old result for the same BSSID. This was found with
the following test sequence:
ap_track_sta_no_auth dpp_network_intro_version_missing_req dpp_controller_relay_pkex
Signed-off-by: Jouni Malinen <j@w1.fi>
wait_auth_success(relay, dev[1], configurator=dev[1], enrollee=relay)
update_hapd_config(relay)
+ dev[0].flush_scan_cache()
+
# Initiate from Enrollee with broadcast DPP Authentication Request or
# using chirping
dev[0].set("dpp_config_processing", "2")
if "FAIL" in res:
raise Exception("Failed to set PKEX data (Controller)")
+ dev[0].flush_scan_cache()
+
# Initiate PKEX from Enrollee
dev[0].set("dpp_config_processing", "2")
dev[0].dpp_pkex_init(identifier=None, code=code, role="enrollee")