summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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