summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/detect_devices.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index 28898576c..8f982c94c 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -395,7 +395,7 @@ sub getSerialModem {
sub getModem() {
my @pci_modems = grep { $_->{driver} =~ /www.linmodems.org/ } probeall(0);
- getSerialModem({}), @pci_modems;
+ grep { !is_empty_hash_ref($_) } getSerialModem({}), @pci_modems;
}
sub getSpeedtouch {