]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Restore p2ps config_method in dbus_get_set_wps
authorJouni Malinen <jouni@qca.qualcomm.com>
Mon, 2 Feb 2015 22:33:45 +0000 (00:33 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 2 Feb 2015 23:35:07 +0000 (01:35 +0200)
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 <jouni@qca.qualcomm.com>
tests/hwsim/test_dbus.py

index 43132831d71b976518134564b76bfc8f5e3f670b..adfcfdb89f2f5d64fc7b547e369e4cd1c3b38dcf 100644 (file)
@@ -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])