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
1 changed files with 1 additions and 1 deletions

View File

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