]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Disable both APs before flushing PBC state
authorJouni Malinen <quic_jouni@quicinc.com>
Fri, 20 Jan 2023 17:06:25 +0000 (19:06 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 20 Jan 2023 17:06:25 +0000 (19:06 +0200)
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>
tests/hwsim/test_dbus.py

index 62be04ceba59374d4f3d3efad953f226ae233009..fc1c6498297886e9bac416e5c15cad0ae3b0ae6a 100644 (file)
@@ -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):