From: Jouni Malinen Date: Fri, 20 Jan 2023 17:06:25 +0000 (+0200) Subject: tests: Disable both APs before flushing PBC state X-Git-Tag: hostap_2_11~1340 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48cb42182f1c2ca0cd99cb22120d40975ec6dee5;p=thirdparty%2Fhostap.git 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 --- diff --git a/tests/hwsim/test_dbus.py b/tests/hwsim/test_dbus.py index 62be04ceb..fc1c64982 100644 --- a/tests/hwsim/test_dbus.py +++ b/tests/hwsim/test_dbus.py @@ -738,6 +738,7 @@ def test_dbus_wps_pbc_overlap(dev, apdev): dev[0].request("WPS_CANCEL") dev[0].request("DISCONNECT") hapd.disable() + hapd2.disable() dev[0].flush_scan_cache() def test_dbus_wps_pin(dev, apdev):