From 48cb42182f1c2ca0cd99cb22120d40975ec6dee5 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Fri, 20 Jan 2023 19:06:25 +0200 Subject: [PATCH] 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 --- tests/hwsim/test_dbus.py | 1 + 1 file changed, 1 insertion(+) 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):