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 match_times property
This commit is contained in:
parent
f2197fa06b
commit
06ee649a91
@ -153,6 +153,14 @@ class Rule(HwsimDBusAbstract):
|
||||
reply_handler=self._success, error_handler=self._failure)
|
||||
self._wait_for_async_op()
|
||||
|
||||
@property
|
||||
def match_times(self):
|
||||
return self._properties['MatchTimes']
|
||||
|
||||
@match_times.setter
|
||||
def match_times(self, value):
|
||||
self._prop_proxy.Set(self._iface_name, 'MatchTimes', dbus.UInt16(value))
|
||||
|
||||
def remove(self):
|
||||
self._iface.Remove(reply_handler=self._success,
|
||||
error_handler=self._failure)
|
||||
|
Loading…
Reference in New Issue
Block a user