From eaf176220c9ca2a553694977e39411a10a335937 Mon Sep 17 00:00:00 2001 From: James Prestwood Date: Thu, 17 Dec 2020 11:36:03 -0800 Subject: [PATCH] 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. --- autotests/util/hwsim.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autotests/util/hwsim.py b/autotests/util/hwsim.py index 415bfc90..b0e6a089 100755 --- a/autotests/util/hwsim.py +++ b/autotests/util/hwsim.py @@ -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()