From b745155efc05fb2fb8d631fc279ccff6040cf459 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 1 Sep 2004 06:25:32 +0000 Subject: (getBewan) reuse ematching_desc__regexp() --- perl-install/detect_devices.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'perl-install') diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm index 5382fe34c..3295c5abf 100644 --- a/perl-install/detect_devices.pm +++ b/perl-install/detect_devices.pm @@ -472,8 +472,7 @@ sub getSpeedtouch() { } sub getBewan() { - grep { $_->{description} =~ /Bewan Systems\|PCI ADSL Modem|BEWAN ADSL USB/ } probeall(); - + matching_desc__regexp('Bewan Systems\|PCI ADSL Modem|BEWAN ADSL USB'); } sub getSagem() { matching_driver(qw(adiusbadsl eagle-usb)); -- cgit v1.2.1