summaryrefslogtreecommitdiffstats
path: root/perl-install/network/tools.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/network/tools.pm')
-rw-r--r--perl-install/network/tools.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/tools.pm b/perl-install/network/tools.pm
index f9957577e..57cf647ea 100644
--- a/perl-install/network/tools.pm
+++ b/perl-install/network/tools.pm
@@ -200,7 +200,7 @@ sub convert_wep_key_for_iwconfig {
#- else consider the key as hexadecimal, do not strip dashes
#- always quote the key as string
my ($key) = @_;
- member(length($key), (5, 13)) ? "s:$key" : "$key";
+ member(length($key), (5, 13)) ? "s:$key" : $key;
}
sub get_wep_key_from_iwconfig {