From: Jouni Malinen Date: Mon, 21 Feb 2022 22:05:56 +0000 (+0200) Subject: tests: Make rrm_beacon_req_frame_body_fragmentation more robust X-Git-Tag: hostap_2_11~2220 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00163fd7415aab859cef37d89316e344c4c828b7;p=thirdparty%2Fhostap.git 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 --- diff --git a/tests/hwsim/test_rrm.py b/tests/hwsim/test_rrm.py index db6713183..5a65a506e 100644 --- a/tests/hwsim/test_rrm.py +++ b/tests/hwsim/test_rrm.py @@ -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()