1
0
mirror of https://github.com/gryf/wicd.git synced 2026-02-19 16:35:46 +01:00

Fix bug where shared essid settings couldn't be disabled once they were turned on.

This commit is contained in:
Dan O'Reilly
2009-05-01 20:26:46 -04:00
parent adec1fdc18
commit 8dcc028c39

View File

@@ -1201,8 +1201,8 @@ class WirelessDaemon(dbus.service.Object):
# We want to write the essid in addition to bssid # We want to write the essid in addition to bssid
# sections if global settings are enabled. # sections if global settings are enabled.
self.config.remove_section(essid_key)
if cur_network["use_settings_globally"]: if cur_network["use_settings_globally"]:
self.config.remove_section(essid_key)
self.config.add_section(essid_key) self.config.add_section(essid_key)
for x in cur_network: for x in cur_network: