mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-25 17:59:25 +01:00
auto-t: iwd.py: let IWD class specify developer mode
This commit is contained in:
parent
71ac0a8909
commit
7d6a38de93
@ -1098,7 +1098,8 @@ class IWD(AsyncOpAbstract):
|
||||
psk_agents = []
|
||||
|
||||
def __init__(self, start_iwd_daemon = False, iwd_config_dir = '/tmp',
|
||||
iwd_storage_dir = IWD_STORAGE_DIR, namespace=ctx):
|
||||
iwd_storage_dir = IWD_STORAGE_DIR, namespace=ctx,
|
||||
developer_mode = True):
|
||||
self.namespace = namespace
|
||||
self._bus = namespace.get_bus()
|
||||
|
||||
@ -1107,7 +1108,8 @@ class IWD(AsyncOpAbstract):
|
||||
raise Exception("IWD requested to start but is already running")
|
||||
|
||||
self._iwd_proc = self.namespace.start_iwd(iwd_config_dir,
|
||||
iwd_storage_dir)
|
||||
iwd_storage_dir,
|
||||
developer_mode)
|
||||
|
||||
self._devices = DeviceList(self)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user