diff options
author | Olivier Blin <oblin@mandriva.com> | 2008-03-14 17:08:50 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2008-03-14 17:08:50 +0000 |
commit | f5d6d19dbd91b38ac13393d2be970f4580e5684b (patch) | |
tree | 533d878666bce5f1bdef3cb6d91ad9ef49a41a44 /lib/network/drakroam.pm | |
parent | 993967b89ce2e552294afe8c290a6c54ad60fe30 (diff) | |
download | drakx-net-f5d6d19dbd91b38ac13393d2be970f4580e5684b.tar drakx-net-f5d6d19dbd91b38ac13393d2be970f4580e5684b.tar.gz drakx-net-f5d6d19dbd91b38ac13393d2be970f4580e5684b.tar.bz2 drakx-net-f5d6d19dbd91b38ac13393d2be970f4580e5684b.tar.xz drakx-net-f5d6d19dbd91b38ac13393d2be970f4580e5684b.zip |
do not run the whole setup check if interface is already ok
Diffstat (limited to 'lib/network/drakroam.pm')
-rwxr-xr-x | lib/network/drakroam.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/network/drakroam.pm b/lib/network/drakroam.pm index 459ff54..e308cf3 100755 --- a/lib/network/drakroam.pm +++ b/lib/network/drakroam.pm @@ -41,7 +41,8 @@ sub select_connection { my ($droam) = @_; $droam->{connection} = get_connection($droam); - network::connection_manager::setup_connection($droam) if $droam->{connection}; + network::connection_manager::check_setup($droam) || network::connection_manager::setup_connection($droam) + if $droam->{connection}; update_on_connection_change($droam); } |