3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-21 22:09:23 +01:00

tools/ios_convert: use join rather than manually looping

This commit is contained in:
James Prestwood 2019-08-26 16:34:21 -07:00 committed by Denis Kenzior
parent de2c808970
commit 202f65be69

View File

@ -144,13 +144,7 @@ def write_network(network, root_ca_path):
name + '.conf'
output += "[Hotspot]\n"
output += "NAIRealmNames="
for i in range(len(network.nai_realms)):
output += network.nai_realms[i]
if i < len(network.nai_realms) - 1:
output += ','
output += ','.join(network.nai_realms)
output += "\n"
output += "Name=%s\n" % name