]> git.ipfire.org Git - thirdparty/hostap.git/commit
tests: Clear scan cache at the end of ap_wps_per_station_psk
authorJouni Malinen <jouni@qca.qualcomm.com>
Wed, 18 Nov 2015 16:03:22 +0000 (18:03 +0200)
committerJouni Malinen <j@w1.fi>
Wed, 18 Nov 2015 16:03:22 +0000 (18:03 +0200)
commit4f524e99d22873f042789a0ecee9539b97e72f4c
treed4160607156ce3315841d8a12bb28c1650040d69
parent747ba1067d3161d1bdbf23e90e6d1551b861bd2e
tests: Clear scan cache at the end of ap_wps_per_station_psk

It was possible for the WPS PBC state to get cached through to the
following test cases and that would trigger false failures. Fix this by
explicitly clearing the scan cache at the end of ap_wps_per_station_psk.
This issue was triggered with the following test case sequence:
ap_wps_per_station_psk autogo_pbc

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
tests/hwsim/test_ap_wps.py