tests: Clear scan cache in ap_hs20_anqp_invalid_gas_response

This is needed to avoid unexpected behavior if a previously executed
test case has left a BSS entry with Interworking emabled into the case.

Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2024-04-20 12:27:03 +03:00
parent b3ad54e460
commit 42517eb3b0

View file

@ -5758,6 +5758,7 @@ def test_ap_hs20_anqp_invalid_gas_response(dev, apdev):
params['hessid'] = bssid params['hessid'] = bssid
hapd = hostapd.add_ap(apdev[0], params) hapd = hostapd.add_ap(apdev[0], params)
dev[0].flush_scan_cache()
dev[0].scan_for_bss(bssid, freq="2412") dev[0].scan_for_bss(bssid, freq="2412")
hapd.set("ext_mgmt_frame_handling", "1") hapd.set("ext_mgmt_frame_handling", "1")