3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-29 05:39:24 +01:00

auto-t: fix testP2P

testP2P was failing with
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/wpa_supplicant.conf'
This commit is contained in:
Torsten Schmitz 2021-11-09 20:46:58 +01:00 committed by Denis Kenzior
parent cfd191a803
commit d9cd657135

View File

@ -955,7 +955,7 @@ class TestContext(Namespace):
else: else:
wpas_radios = [rad for rad in self.radios if rad.name in settings] wpas_radios = [rad for rad in self.radios if rad.name in settings]
self.wpas_interfaces = [rad.create_interface('wpa_supplicant.conf', 'wpas') \ self.wpas_interfaces = [rad.create_interface(settings[rad.name], 'wpas') \
for rad in wpas_radios] for rad in wpas_radios]
def start_ofono(self): def start_ofono(self):