diff options
Diffstat (limited to 'lib/network/connection/cellular.pm')
-rw-r--r-- | lib/network/connection/cellular.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/network/connection/cellular.pm b/lib/network/connection/cellular.pm index 11e6be1..71509c4 100644 --- a/lib/network/connection/cellular.pm +++ b/lib/network/connection/cellular.pm @@ -55,8 +55,8 @@ sub guess_provider_settings { } sub guess_access_settings { - my ($self) = @_; - my $settings = $self->load_cellular_settings || {}; + my ($self, $o_provider_only) = @_; + my $settings = !$o_provider_only && $self->load_cellular_settings || {}; $self->{access}{$_} = $settings->{uc($_)} || $self->{provider}{$_} foreach qw(login password apn); } |