summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/network/modem.pm10
1 files changed, 5 insertions, 5 deletions
diff --git a/perl-install/network/modem.pm b/perl-install/network/modem.pm
index 050743794..275d28fcd 100644
--- a/perl-install/network/modem.pm
+++ b/perl-install/network/modem.pm
@@ -246,16 +246,16 @@ sub ppp_choose {
1;
}
-#- TODO: add choice between hcf/hsf
+#- TODO: add choice between hcf/hsf/lt ?
sub winmodemConfigure {
my ($in, $netc) = @_;
my $type;
foreach (keys %{$netc->{autodetect}{winmodem}}) {
- my $temp;
- /Hcf/ and $temp = "hcf";
- /Hsf/ and $temp = "hsf";
- $temp and $in->do_pkgs->what_provides("${temp}linmodem") and $type = "${temp}linmodem";
+ /Hcf/ and $type = "hcfpcimodem";
+ /Hsf/ and $type = "hsflinmodem";
+ /LT/ and $type = "ltmodem";
+ $type && $in->do_pkgs->what_provides($type) or $type = undef;
}
$type || $in->ask_warn(N("Warning"), N("Your modem isn't supported by the system.