3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-25 09:29:34 +01:00

auto-t: fix SignalAgent Release arguments

The path for IWD to call this doesn't ever happen in autotests
but during debugging of the DPP agent it was noticed that the
DBus signature was incorrect and would always result in an error
when calling from IWD.
This commit is contained in:
James Prestwood 2023-12-11 11:41:20 -08:00 committed by Denis Kenzior
parent 0dd2f0000e
commit 84d018e722

View File

@ -201,9 +201,9 @@ class SignalAgent(dbus.service.Object):
return self._path
@dbus.service.method(IWD_SIGNAL_AGENT_INTERFACE,
in_signature='', out_signature='')
def Release(self):
print("SignalAgent released")
in_signature='o', out_signature='')
def Release(self, path):
print("SignalAgent released %s" % path)
@dbus.service.method(IWD_SIGNAL_AGENT_INTERFACE,
in_signature='oy', out_signature='')