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

make setting the essid work even if the essid is a reserved word

This commit is contained in:
Adam Blackburn
2009-11-23 11:43:50 -06:00
parent f79d90d2b5
commit f8ee16fc8d

View File

@@ -856,7 +856,7 @@ class BaseWirelessInterface(BaseInterface):
essid -- essid to set the interface to
"""
cmd = ['iwconfig', self.iface, 'essid', str(essid)]
cmd = ['iwconfig', self.iface, 'essid', '--', str(essid)]
if self.verbose: print str(cmd)
misc.Run(cmd)