summaryrefslogtreecommitdiffstats
path: root/perl-install/network
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-02-18 17:10:55 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-02-18 17:10:55 +0000
commit89d254e5463efe48f39f68be171a5fe83ffe3422 (patch)
tree328aeeea017576810baea2d4a8168b0f3fead484 /perl-install/network
parent135cb580abfc873836a029b30f42ed9e5f836750 (diff)
downloaddrakx-89d254e5463efe48f39f68be171a5fe83ffe3422.tar
drakx-89d254e5463efe48f39f68be171a5fe83ffe3422.tar.gz
drakx-89d254e5463efe48f39f68be171a5fe83ffe3422.tar.bz2
drakx-89d254e5463efe48f39f68be171a5fe83ffe3422.tar.xz
drakx-89d254e5463efe48f39f68be171a5fe83ffe3422.zip
do not overwrite current wireless parameters with default values
Diffstat (limited to 'perl-install/network')
-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 0b05773e5..c1083dc94 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -873,8 +873,8 @@ notation (for example, 1.2.3.4).")),
pre => sub {
$ethntf->{wireless_eth} = 1;
$netc->{wireless_eth} = 1;
- $ethntf->{WIRELESS_MODE} = "Managed";
- $ethntf->{WIRELESS_ESSID} = "any";
+ $ethntf->{WIRELESS_MODE} ||= "Managed";
+ $ethntf->{WIRELESS_ESSID} ||= "any";
},
name => N("Please enter the wireless parameters for this card:"),
data => sub {