From 54a5791195b08be37df46f05fb0f3fe50933ba98 Mon Sep 17 00:00:00 2001 From: James Prestwood Date: Thu, 22 Aug 2019 15:12:53 -0400 Subject: [PATCH] tools/ios_convert: add 'Name' to hotspot config Also fixed a indentation issue for NAIRealms --- tools/ios_convert.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tools/ios_convert.py b/tools/ios_convert.py index 9aca5a82..7f729e53 100755 --- a/tools/ios_convert.py +++ b/tools/ios_convert.py @@ -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'