tests: Make rrm_beacon_req_frame_body_fragmentation more robust

Flush scan results to avoid unexpected behavior due to scan results
remaining available from previous test cases.

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
This commit is contained in:
Jouni Malinen 2022-02-22 00:05:56 +02:00 committed by Jouni Malinen
parent b367366dd7
commit 00163fd741

View file

@ -890,6 +890,7 @@ def test_rrm_beacon_req_frame_body_fragmentation(dev, apdev):
"203dd0400137400dd04001374ffdd051122330203dd0400137400dd04001374ff"
"dd051122330203dd0400137400dd04001374ff"))
dev[0].flush_scan_cache()
dev[0].connect("rrm", key_mgmt="NONE", scan_freq="2412")
addr = dev[0].own_addr()