~ubuntu-branches/ubuntu/edgy/system-tools-backends/edgy-updates

« back to all changes in this revision

Viewing changes to debian/patches/90_from_cvs_fix_wireless_essid_and_key.patch

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2006-10-09 12:32:22 UTC
  • Revision ID: james.westby@ubuntu.com-20061009123222-6koocagypyg2p8kt
Tags: 1.9.7-0ubuntu2
* debian/patches/90_from_cvs_fix_wireless_essid_and_key.patch:
  - fix wireless essid and key not being written correctly (Ubuntu: #64719)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--- Ifaces.pm   2006/10/05 22:40:14     1.10
 
2
+++ Network/Ifaces.pm   2006/10/09 08:18:03     1.11
 
3
@@ -3698,12 +3698,12 @@
 
4
   foreach $iface (@$wireless)
 
5
   {
 
6
     $bootproto = ($$iface[3] == 2) ? "dhcp" : "none";
 
7
-    $key_type = ($$iface[9] == 1) ? "hexadecimal" : "ascii";
 
8
+    $key_type = ($$iface[10] == 1) ? "hexadecimal" : "ascii";
 
9
 
 
10
     $hash{$$iface[0]} = { "dev" => $$iface[0], "enabled" => $$iface[1], "auto" => $$iface[2],
 
11
                           "bootproto" => $bootproto,
 
12
                           "address" => $$iface[4], "netmask" => $$iface[5], "gateway" => $$iface[8],
 
13
-                          "essid" => $$iface[8], "key_type" => $key_type, "key" => $$iface[10] };
 
14
+                          "essid" => $$iface[9], "key_type" => $key_type, "key" => $$iface[11] };
 
15
   }
 
16
 
 
17
   foreach $iface (@$irlan)