tests: Disable both APs before flushing PBC state

One of the PBC APs was left running at the end of the tet case with
active PBC. Stop that AP as well before flushing scan information on the
STA.

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
This commit is contained in:
Jouni Malinen 2023-01-20 19:06:25 +02:00 committed by Jouni Malinen
parent c9fc124256
commit 48cb42182f

View file

@ -738,6 +738,7 @@ def test_dbus_wps_pbc_overlap(dev, apdev):
dev[0].request("WPS_CANCEL") dev[0].request("WPS_CANCEL")
dev[0].request("DISCONNECT") dev[0].request("DISCONNECT")
hapd.disable() hapd.disable()
hapd2.disable()
dev[0].flush_scan_cache() dev[0].flush_scan_cache()
def test_dbus_wps_pin(dev, apdev): def test_dbus_wps_pin(dev, apdev):