diff options
author | Olivier Blin <oblin@mandriva.com> | 2008-06-03 10:02:53 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2008-06-03 10:02:53 +0000 |
commit | 6df7579d053719b84a2b983fb94df2b189160ffa (patch) | |
tree | f2d47f4e26d61dcaf6a27eca12e1334cf739b04f | |
parent | 83646f056c8213adfb44a366bb9c539fb1ba3a25 (diff) | |
download | drakx-net-6df7579d053719b84a2b983fb94df2b189160ffa.tar drakx-net-6df7579d053719b84a2b983fb94df2b189160ffa.tar.gz drakx-net-6df7579d053719b84a2b983fb94df2b189160ffa.tar.bz2 drakx-net-6df7579d053719b84a2b983fb94df2b189160ffa.tar.xz drakx-net-6df7579d053719b84a2b983fb94df2b189160ffa.zip |
guess hardware settings when loading settings (not to lose PIN code for cellular connections)
-rw-r--r-- | lib/network/connection_manager.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/network/connection_manager.pm b/lib/network/connection_manager.pm index 3deb2f3..43df11f 100644 --- a/lib/network/connection_manager.pm +++ b/lib/network/connection_manager.pm @@ -73,7 +73,6 @@ sub setup_connection { $device_ready = $cmanager->{connection}->check_hardware; } if ($cmanager->{connection}->can('get_hardware_settings') && !$device_ready) { - $cmanager->{connection}->guess_hardware_settings if $cmanager->{connection}->can('guess_hardware_settings'); $cmanager->{in}->ask_from_({ title => N("Network settings"), messages => N("Please enter settings for network"), @@ -100,6 +99,7 @@ sub load_settings { my ($cmanager) = @_; $cmanager->{connection}->load_interface_settings; + $cmanager->{connection}->guess_hardware_settings if $cmanager->{connection}->can('guess_hardware_settings'); $cmanager->{connection}->guess_network_access_settings if $cmanager->{connection}->can('guess_network_access_settings'); if ($cmanager->{connection}->can('get_providers')) { $cmanager->{connection}->guess_provider_settings; |