From 364e28c982c4a3638bacc94848fce82fc53429bd Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Tue, 3 Feb 2015 00:33:45 +0200 Subject: [PATCH] tests: Restore p2ps config_method in dbus_get_set_wps This test case is modifying the list of enabled config_method values and needs to restore "p2ps" option that is included by default. Without this, P2PS executed after dbus_get_set_wps could fail. Signed-off-by: Jouni Malinen --- tests/hwsim/test_dbus.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/hwsim/test_dbus.py b/tests/hwsim/test_dbus.py index 43132831d..adfcfdb89 100644 --- a/tests/hwsim/test_dbus.py +++ b/tests/hwsim/test_dbus.py @@ -322,7 +322,7 @@ def test_dbus_get_set_wps(dev, apdev): _test_dbus_get_set_wps(dev, apdev) finally: dev[0].request("SET wps_cred_processing 0") - dev[0].request("SET config_methods display keypad virtual_display nfc_interface") + dev[0].request("SET config_methods display keypad virtual_display nfc_interface p2ps") def _test_dbus_get_set_wps(dev, apdev): (bus,wpas_obj,path,if_obj) = prepare_dbus(dev[0])