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
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue