1
0
mirror of https://github.com/gryf/wicd.git synced 2025-12-23 22:52:33 +01:00

Scan the SSID by default, should make wicd a bit more cooperative at handling hidden SSIDs.

Set scan_ssid in the templates to "1" by default, instead of "0".
This commit is contained in:
Andrew Psaltis
2010-08-20 17:38:52 -04:00
parent e59d76e904
commit e773b3b1f3

View File

@@ -257,7 +257,7 @@ def ParseEncryption(network):
if cur_val:
if cur_val[0] == 'SCAN':
#TODO should this be hardcoded?
line = line.replace("$_SCAN", "0")
line = line.replace("$_SCAN", "1")
config_file = ''.join([config_file, line])
else:
rep_val = network.get(cur_val[0].lower())