deleted scan ssid and key mgmt

This commit is contained in:
Justin 2023-01-30 12:25:20 +08:00 committed by GitHub
parent 78226b5343
commit e27161422e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -534,8 +534,6 @@ def edit_wpa_sup(country, ssid, pwd):
wpa_lines.append('network={\n')
wpa_lines.append('\tssid="{}"\n'.format(ssid))
wpa_lines.append('\tpsk="{}"\n'.format(pwd))
wpa_lines.append('\tscan_ssid=1\n')
wpa_lines.append('\tkey_mgmt=WPA-PSK\n')
wpa_lines.append('}\n')
wpa_string = ''.join(wpa_lines)