Browse Source

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 <jouni@qca.qualcomm.com>
Jouni Malinen 10 years ago
parent
commit
364e28c982
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/hwsim/test_dbus.py

+ 1 - 1
tests/hwsim/test_dbus.py

@@ -322,7 +322,7 @@ def test_dbus_get_set_wps(dev, apdev):
         _test_dbus_get_set_wps(dev, apdev)
         _test_dbus_get_set_wps(dev, apdev)
     finally:
     finally:
         dev[0].request("SET wps_cred_processing 0")
         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):
 def _test_dbus_get_set_wps(dev, apdev):
     (bus,wpas_obj,path,if_obj) = prepare_dbus(dev[0])
     (bus,wpas_obj,path,if_obj) = prepare_dbus(dev[0])