summaryrefslogtreecommitdiffstats
path: root/perl-install/network/netconnect.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/network/netconnect.pm')
-rw-r--r--perl-install/network/netconnect.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm
index 41db9df62..1cf2786fc 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -497,6 +497,8 @@ Take a look at http://www.linmodems.org"),
if (exists $net->{autodetect}{modem}{$modem_name}{device}) {
#- this is a serial probed modem
$modem->{device} = $net->{autodetect}{modem}{$modem_name}{device};
+ }
+ if (exists $modem->{device}) {
return "ppp_provider";
} else {
#- driver exists but device field hasn't been filled by network::thirdparty::setup_device