summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/network/adsl.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/network/adsl.pm b/perl-install/network/adsl.pm
index a1a50e932..ee01ccb21 100644
--- a/perl-install/network/adsl.pm
+++ b/perl-install/network/adsl.pm
@@ -82,7 +82,8 @@ sub adsl_ask_info {
sub adsl_detect {
my ($adsl) = @_;
- $adsl->{speedtouch} = detect_devices::getSpeedtouch();
+ $adsl->{speedtouch} = detect_devices::getSpeedtouch();
+ return $adsl if $adsl->{speedtouch};
}
sub adsl_conf {