3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-22 13:02:44 +01:00

auto-t: hwsim.py: add drop_ack property

This commit is contained in:
James Prestwood 2021-09-07 14:14:45 -07:00 committed by Denis Kenzior
parent bedd20b08e
commit 5b226a8151

View File

@ -161,6 +161,14 @@ class Rule(HwsimDBusAbstract):
def match_times(self, value):
self._prop_proxy.Set(self._iface_name, 'MatchTimes', dbus.UInt16(value))
@property
def drop_ack(self):
return self._properties(['DropAck'])
@drop_ack.setter
def drop_ack(self, value):
self._prop_proxy.Set(self._iface_name, 'DropAck', value)
def remove(self):
self._iface.Remove(reply_handler=self._success,
error_handler=self._failure)