]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Make rrm_beacon_req_frame_body_fragmentation more robust
authorJouni Malinen <quic_jouni@quicinc.com>
Mon, 21 Feb 2022 22:05:56 +0000 (00:05 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 21 Feb 2022 22:05:56 +0000 (00:05 +0200)
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>
tests/hwsim/test_rrm.py

index db671318381d3f96c74536066181de078ba43398..5a65a506e32294a6ee36dfe111bfabef63676825 100644 (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()