summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/modules.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/modules.pm b/perl-install/modules.pm
index 3b5494220..8686eaa9c 100644
--- a/perl-install/modules.pm
+++ b/perl-install/modules.pm
@@ -142,8 +142,9 @@ sub probe_category {
my $b = $_->{driver} =~ /ISDN:([^,]*),?([^,]*)(?:,firmware=(.*))?/;
if ($b) {
$_->{driver} = $1;
+ $_->{type} = $2;
+ $_->{type} =~ s/type=//;
$_->{firmware} = $3;
- ($_->{type}) = $2 =~ /type=(\d+)/;
$_->{driver} eq "hisax" and $_->{options} .= " id=HiSax";
}
$b;