3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-25 17:59:25 +01:00

test-runner: Enable --p2p when creating interfaces

Enable p2p for the hwsim radios so that we can test P2P.  This can be
made optional for the tests but it seems safe to enable always.
This commit is contained in:
Andrew Zaborowski 2020-09-29 18:37:11 +02:00 committed by Denis Kenzior
parent d5c7b47745
commit 15c04bb395

View File

@ -312,7 +312,7 @@ class VirtualRadio(Radio):
self.disable_cipher = None self.disable_cipher = None
self.disable_iftype = None self.disable_iftype = None
args = ['hwsim', '--create', '--name', self.name, '--nointerface'] args = ['hwsim', '--create', '--name', self.name, '--nointerface', '--p2p']
if config: if config:
self.disable_iftype = config.get('iftype_disable', False) self.disable_iftype = config.get('iftype_disable', False)