summaryrefslogtreecommitdiffstats
path: root/perl-install/network/monitor.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/network/monitor.pm')
-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]');
}
}