summaryrefslogtreecommitdiffstats
path: root/perl-install/network/netconnect.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-04-19 21:32:04 +0000
committerOlivier Blin <oblin@mandriva.org>2005-04-19 21:32:04 +0000
commit7522dd6234b052429968e039fb643a159c530095 (patch)
tree29ebb2052ee4b69b51479542922b4894c053d007 /perl-install/network/netconnect.pm
parent6eea717617247c8932c5fe82f1ff0c5278b12237 (diff)
downloaddrakx-backup-do-not-use-7522dd6234b052429968e039fb643a159c530095.tar
drakx-backup-do-not-use-7522dd6234b052429968e039fb643a159c530095.tar.gz
drakx-backup-do-not-use-7522dd6234b052429968e039fb643a159c530095.tar.bz2
drakx-backup-do-not-use-7522dd6234b052429968e039fb643a159c530095.tar.xz
drakx-backup-do-not-use-7522dd6234b052429968e039fb643a159c530095.zip
fix typo
Diffstat (limited to 'perl-install/network/netconnect.pm')
-rw-r--r--perl-install/network/netconnect.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm
index 9441ae61c..d7117c319 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -1208,7 +1208,7 @@ notation (for example, 1.2.3.4).")),
$ethntf->{WIRELESS_MODE} ||= "Managed";
$ethntf->{WIRELESS_ESSID} ||= "any";
$wireless_use_wpa = exists $ethntf->{WIRELESS_WPA_DRIVER};
- $wireless_use_wpa or $wireless_key = network::wireless::convert_wep_key_for_iwconfig($intf->{WIRELESS_ENC_KEY});
+ $wireless_use_wpa or $wireless_key = network::wireless::convert_wep_key_for_iwconfig($ethntf->{WIRELESS_ENC_KEY});
},
name => N("Please enter the wireless parameters for this card:"),
data => sub {
@@ -1281,7 +1281,7 @@ See iwpriv(8) man page for further information."),
$ethntf->{WIRELESS_WPA_DRIVER} = network::wireless::wpa_supplicant_get_driver($module);
network::wireless::wpa_supplicant_configure($in, $ethntf);
} else {
- $intf->{WIRELESS_ENC_KEY} = network::wireless::get_wep_key_from_iwconfig($wireless_key);
+ $ethntf->{WIRELESS_ENC_KEY} = network::wireless::get_wep_key_from_iwconfig($wireless_key);
delete $ethntf->{WIRELESS_WPA_DRIVER};
}
return "static_hostname";