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
1 changed files with 1 additions and 1 deletions

View File

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