summaryrefslogtreecommitdiffstats
path: root/lib/network
diff options
context:
space:
mode:
Diffstat (limited to 'lib/network')
-rw-r--r--lib/network/connection_manager.pm1
-rwxr-xr-xlib/network/netcenter.pm1
2 files changed, 1 insertions, 1 deletions
diff --git a/lib/network/connection_manager.pm b/lib/network/connection_manager.pm
index 3ebbe83..b005e76 100644
--- a/lib/network/connection_manager.pm
+++ b/lib/network/connection_manager.pm
@@ -38,6 +38,7 @@ sub new {
sub set_connection {
my ($cmanager, $connection) = @_;
$cmanager->{connection} = $connection;
+ $cmanager->{wait_message_timeout} = 20*1000 if ref($connection) eq 'network::connection::wireless' && $cmanager->{net}{monitor};
}
sub check_setup {
diff --git a/lib/network/netcenter.pm b/lib/network/netcenter.pm
index 27a56c6..cd5cdb3 100755
--- a/lib/network/netcenter.pm
+++ b/lib/network/netcenter.pm
@@ -19,7 +19,6 @@ sub build_cmanager {
my $cmanager = network::connection_manager->new($in, $net, $w, $pixbufs);
$cmanager->set_connection($connection);
$cmanager->{gui}{show_unique_network} = $cmanager->{connection}->has_unique_network;
- $cmanager->{wait_message_timeout} = 20*1000 if ref($connection) eq 'network::connection::wireless' && $net->{monitor};
if ($connection->can('get_networks')) {
$cmanager->create_networks_list;