diff options
author | Olivier Blin <oblin@mandriva.org> | 2005-09-15 04:39:03 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2005-09-15 04:39:03 +0000 |
commit | c8cdfb4774ce9849120c4a0407c136c5fd88ba22 (patch) | |
tree | d98e7b2d8ecf285ed1ef3ebbf29b784f352ce16a | |
parent | 8709b05ba3de6b4db8fb42bfdbb137f93957070e (diff) | |
download | drakx-c8cdfb4774ce9849120c4a0407c136c5fd88ba22.tar drakx-c8cdfb4774ce9849120c4a0407c136c5fd88ba22.tar.gz drakx-c8cdfb4774ce9849120c4a0407c136c5fd88ba22.tar.bz2 drakx-c8cdfb4774ce9849120c4a0407c136c5fd88ba22.tar.xz drakx-c8cdfb4774ce9849120c4a0407c136c5fd88ba22.zip |
fix hidden ssid always recognized as current when using iwlist
-rw-r--r-- | perl-install/network/monitor.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/monitor.pm b/perl-install/network/monitor.pm index 93384237b..96e3a225e 100644 --- a/perl-install/network/monitor.pm +++ b/perl-install/network/monitor.pm @@ -53,7 +53,7 @@ sub list_wireless { my $net = {}; foreach (@list) { if ((/^\s*$/ || /Cell/) && exists $net->{ap}) { - $net->{current} = to_bool($net->{essid} eq $current_essid || $net->{ap} eq $current_ap); + $net->{current} = to_bool($net->{essid} && $net->{essid} eq $current_essid || $net->{ap} eq $current_ap); $networks{$net->{ap}} = $net; $net = {}; } |