1
0
mirror of https://github.com/gryf/wicd.git synced 2025-12-21 13:28:08 +01:00

Debian patch: 21-fix_ESSID_setting.patch

This commit is contained in:
Adam Blackburn
2010-05-29 17:32:36 +08:00
parent ec650ac2a3
commit 1548ff463d

View File

@@ -1088,9 +1088,7 @@ class BaseWirelessInterface(BaseInterface):
bssid -- bssid of the network bssid -- bssid of the network
""" """
cmd = ['iwconfig', self.iface, 'essid', essid] self.SetEssid(essid)
if self.verbose: print str(cmd)
misc.Run(cmd)
base = "iwconfig %s" % self.iface base = "iwconfig %s" % self.iface
if channel and str(channel).isdigit(): if channel and str(channel).isdigit():
cmd = "%s channel %s" % (base, str(channel)) cmd = "%s channel %s" % (base, str(channel))