mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-22 06:29:23 +01:00
test: Update to the new wsc api naming
This commit is contained in:
parent
a06583ffc4
commit
f97bca55e9
@ -59,7 +59,7 @@ def properties_changed(interface, changed, invalidated, path):
|
||||
|
||||
relevant_ifaces = [ "net.connman.iwd.Device",
|
||||
"net.connman.iwd.Adapter",
|
||||
"net.connman.iwd.WiFiSimpleConfiguration",
|
||||
"net.connman.iwd.SimpleConfiguration",
|
||||
"net.connman.iwd.AccessPoint",
|
||||
"net.connman.iwd.AdHoc",
|
||||
"net.connman.iwd.Network",
|
||||
|
@ -9,5 +9,5 @@ if (len(sys.argv) != 2):
|
||||
|
||||
bus = dbus.SystemBus()
|
||||
wsc = dbus.Interface(bus.get_object("net.connman.iwd", sys.argv[1]),
|
||||
"net.connman.iwd.WiFiSimpleConfiguration")
|
||||
"net.connman.iwd.SimpleConfiguration")
|
||||
wsc.Cancel()
|
||||
|
@ -9,7 +9,7 @@ if (len(sys.argv) != 2 and len(sys.argv) != 3):
|
||||
|
||||
bus = dbus.SystemBus()
|
||||
wsc = dbus.Interface(bus.get_object("net.connman.iwd", sys.argv[1]),
|
||||
"net.connman.iwd.WiFiSimpleConfiguration")
|
||||
"net.connman.iwd.SimpleConfiguration")
|
||||
|
||||
if (len(sys.argv) == 3):
|
||||
pin = sys.argv[2]
|
||||
|
@ -9,5 +9,5 @@ if (len(sys.argv) != 2):
|
||||
|
||||
bus = dbus.SystemBus()
|
||||
wsc = dbus.Interface(bus.get_object("net.connman.iwd", sys.argv[1]),
|
||||
"net.connman.iwd.WiFiSimpleConfiguration")
|
||||
"net.connman.iwd.SimpleConfiguration")
|
||||
wsc.PushButton()
|
||||
|
Loading…
Reference in New Issue
Block a user