tests: Flush scan table in ap_wps_priority to make it more robust
This test case could fail if there was an old BSS entry from a previous test case in the scan results. Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
This commit is contained in:
parent
b9313e17e8
commit
7173992b96
1 changed files with 1 additions and 0 deletions
|
@ -3961,6 +3961,7 @@ def test_ap_wps_priority(dev, apdev):
|
|||
logger.info("WPS provisioning step")
|
||||
pin = dev[0].wps_read_pin()
|
||||
hapd.request("WPS_PIN any " + pin)
|
||||
dev[0].flush_scan_cache()
|
||||
dev[0].scan_for_bss(apdev[0]['bssid'], freq="2412")
|
||||
dev[0].dump_monitor()
|
||||
try:
|
||||
|
|
Loading…
Reference in a new issue