3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-10-04 10:29:03 +02:00

auto-t: fix hwsim.py to use Destroy rather than Remove

There is no Remove() method, but since this code never was used it
remained incorrect for quite some time.
This commit is contained in:
James Prestwood 2020-12-17 11:36:03 -08:00 committed by Denis Kenzior
parent 799ab03f59
commit eaf176220c

View File

@ -203,7 +203,7 @@ class Radio(HwsimDBusAbstract):
return [str(addr) for addr in self._properties['Addresses']] return [str(addr) for addr in self._properties['Addresses']]
def remove(self): def remove(self):
self._iface.Remove(reply_handler=self._success, self._iface.Destroy(reply_handler=self._success,
error_handler=self._failure) error_handler=self._failure)
self._wait_for_async_op() self._wait_for_async_op()