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

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'