summaryrefslogtreecommitdiffstats
path: root/lib/network/connection_manager.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/network/connection_manager.pm')
-rw-r--r--lib/network/connection_manager.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/network/connection_manager.pm b/lib/network/connection_manager.pm
index d74b92f..55de3c6 100644
--- a/lib/network/connection_manager.pm
+++ b/lib/network/connection_manager.pm
@@ -265,6 +265,9 @@ sub filter_networks {
sub update_networks {
my ($cmanager) = @_;
+
+ check_setup($cmanager) || setup_connection($cmanager) or return;
+
@{$cmanager->{gui}{networks_list}{data}} = ();
if ($cmanager->{connection}) {