make setting the essid work even if the essid is a reserved word
This commit is contained in:
1 parent
f79d90d2b5
commit
f8ee16fc8d
1 file changed
+1
-1
+1
-1
@@ -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