~matttbe/wicd/ubuntu_python27

« back to all changes in this revision

Viewing changes to debian/patches/21-fix_ESSID_setting.patch

  • Committer: Bazaar Package Importer
  • Author(s): David Paleino
  • Date: 2010-03-05 18:12:51 UTC
  • mfrom: (8.2.8 sid)
  • Revision ID: james.westby@ubuntu.com-20100305181251-0fcsn0sty5oy8wlq
Tags: 1.7.0+ds1-2
Fix RC bug: daemon doesn't start anymore because copy.deepcopy()
fails with the iniparse object, coming from 20-use_iniparse.patch.
Bug 568326 reopened. (Closes: #572599)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
From: David Paleino <dapal@debian.org>
 
2
Subject: use the correct ESSID-setting command...
 
3
Forwarded: no
 
4
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=571100
 
5
 
 
6
---
 
7
 wicd/wnettools.py |    4 +---
 
8
 1 file changed, 1 insertion(+), 3 deletions(-)
 
9
 
 
10
--- wicd.orig/wicd/wnettools.py
 
11
+++ wicd/wicd/wnettools.py
 
12
@@ -1097,9 +1097,7 @@ class BaseWirelessInterface(BaseInterfac
 
13
         bssid -- bssid of the network
 
14
 
 
15
         """
 
16
-        cmd = ['iwconfig', self.iface, 'essid', essid]
 
17
-        if self.verbose: print str(cmd)
 
18
-        misc.Run(cmd)
 
19
+        self.SetEssid(essid)
 
20
         base = "iwconfig %s" % self.iface
 
21
         if channel and str(channel).isdigit():
 
22
             cmd = "%s channel %s" % (base, str(channel))