diff options
author | Olivier Blin <oblin@mandriva.org> | 2005-07-22 03:07:52 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2005-07-22 03:07:52 +0000 |
commit | 69a6b8def4d2728546a8587193449d6ee28b5265 (patch) | |
tree | 26be1835f8edd4b6d87930b594cefb7c8e5afd21 | |
parent | e8227a3ea7ff93665aae5050694186fab40f5a4f (diff) | |
download | drakx-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)
-rw-r--r-- | perl-install/network/monitor.pm | 1 |
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]'); } } |