summaryrefslogtreecommitdiffstats
path: root/perl-install/network
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-07-22 03:07:52 +0000
committerOlivier Blin <oblin@mandriva.org>2005-07-22 03:07:52 +0000
commit69a6b8def4d2728546a8587193449d6ee28b5265 (patch)
tree26be1835f8edd4b6d87930b594cefb7c8e5afd21 /perl-install/network
parente8227a3ea7ff93665aae5050694186fab40f5a4f (diff)
downloaddrakx-69a6b8def4d2728546a8587193449d6ee28b5265.tar
drakx-69a6b8def4d2728546a8587193449d6ee28b5265.tar.gz
drakx-69a6b8def4d2728546a8587193449d6ee28b5265.tar.bz2
drakx-69a6b8def4d2728546a8587193449d6ee28b5265.tar.xz
drakx-69a6b8def4d2728546a8587193449d6ee28b5265.zip
use ssid from configuration if found for the MAC address (useful for
hidden essid)
Diffstat (limited to 'perl-install/network')
-rw-r--r--perl-install/network/monitor.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/network/monitor.pm b/perl-install/network/monitor.pm
index beead7ee5..3338a452d 100644
--- a/perl-install/network/monitor.pm
+++ b/perl-install/network/monitor.pm
@@ -26,6 +26,7 @@ sub list_wireless {
while ($networks =~ /^(\d+)\t(.*?)\t(.*?)\t(.*)$/mg) {
if (my $net = $networks{$3} || find { $_->{ssid} eq $2 } values(%networks)) {
$net->{id} = $1;
+ $net->{ssid} ||= $2;
$net->{current} = to_bool($4 eq '[CURRENT]');
}
}