mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
tests: More robust connect command testing
Avoid an invalid failure case due to scan results being left behind from connect_cmd_bssid_hint when executing connect_cmd_reject_assoc by explicitly clearing the scan results from dev5. This fixes an error case that happened with the following test case sequence: connect_cmd_bssid_hint connect_cmd_reject_assoc Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
fe5400dda2
commit
05103c400b
@ -230,3 +230,4 @@ def test_connect_cmd_bssid_hint(dev, apdev):
|
||||
wpas.dump_monitor()
|
||||
finally:
|
||||
wpas.request("AP_SCAN 1")
|
||||
wpas.flush_scan_cache()
|
||||
|
Loading…
Reference in New Issue
Block a user