mirror of
https://github.com/gryf/wicd.git
synced 2026-01-06 05:44:18 +01:00
make setting the essid work even if the essid is a reserved word
This commit is contained in:
@@ -856,7 +856,7 @@ class BaseWirelessInterface(BaseInterface):
|
|||||||
essid -- essid to set the interface to
|
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)
|
if self.verbose: print str(cmd)
|
||||||
misc.Run(cmd)
|
misc.Run(cmd)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user