summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rwxr-xr-xlib/network/drakroam.pm3
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);
}