summaryrefslogtreecommitdiffstats
path: root/perl-install/network
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-09-15 04:39:03 +0000
committerOlivier Blin <oblin@mandriva.org>2005-09-15 04:39:03 +0000
commitc8cdfb4774ce9849120c4a0407c136c5fd88ba22 (patch)
treed98e7b2d8ecf285ed1ef3ebbf29b784f352ce16a /perl-install/network
parent8709b05ba3de6b4db8fb42bfdbb137f93957070e (diff)
downloaddrakx-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
Diffstat (limited to 'perl-install/network')
-rw-r--r--perl-install/network/monitor.pm2
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 = {};
}