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

tools/ios_convert: add 'Name' to hotspot config

Also fixed a indentation issue for NAIRealms
This commit is contained in:
James Prestwood 2019-08-22 15:12:53 -04:00 committed by Denis Kenzior
parent 41740ceabc
commit 54a5791195

View File

@ -128,8 +128,12 @@ def write_network(network, root_ca_path):
for i in range(len(network.nai_realms)):
output += network.nai_realms[i]
if i < len(network.nai_realms) - 1:
output += ','
if i < len(network.nai_realms) - 1:
output += ','
output += "\n"
output += "Name=%s\n" % network.ssid
else:
conf_file = iwd_dir + '/' + network.ssid + '.8021x'