diff options
author | Olivier Blin <oblin@mandriva.com> | 2008-05-26 12:47:56 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2008-05-26 12:47:56 +0000 |
commit | 501bcb87703f3fdc7a85172e923cf4da1aabec3d (patch) | |
tree | 8b367964c30518d2d71bddc4fdf936f5cc55db56 /lib/network/connection/cellular.pm | |
parent | da7e960a0616964eb6d08e0588dfea4ac196af38 (diff) | |
download | drakx-net-501bcb87703f3fdc7a85172e923cf4da1aabec3d.tar drakx-net-501bcb87703f3fdc7a85172e923cf4da1aabec3d.tar.gz drakx-net-501bcb87703f3fdc7a85172e923cf4da1aabec3d.tar.bz2 drakx-net-501bcb87703f3fdc7a85172e923cf4da1aabec3d.tar.xz drakx-net-501bcb87703f3fdc7a85172e923cf4da1aabec3d.zip |
reload provider settings only when apply provider settings
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); } |