summaryrefslogtreecommitdiffstats
path: root/lib/network/netcenter.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/network/netcenter.pm')
-rwxr-xr-xlib/network/netcenter.pm14
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/network/netcenter.pm b/lib/network/netcenter.pm
index feaa69b..a68107c 100755
--- a/lib/network/netcenter.pm
+++ b/lib/network/netcenter.pm
@@ -205,21 +205,7 @@ sub main {
$cmanager->network::connection_manager::update_on_status_change;
}
}
- if ($msg->get_interface eq 'com.mandriva.monitoring.wireless' && $msg->get_member eq 'Event') {
- my ($event, $interface) = $msg->get_args_list;
- print "got wireless event: $event $interface\n";
- my $cmanager = find { $_->{connection}->get_interface eq $interface } @cmanagers;
- if ($cmanager && $cmanager->{wait_message}) {
- if ($event =~ /CTRL-EVENT-CONNECTED/) {
- undef $cmanager->{wait_message};
- } elsif ($event =~ /Authentication with (.+?) timed out/) {
- undef $cmanager->{wait_message};
- $cmanager->{in}->ask_warn(N("Error"), N("Connection failed."));
- }
- }
- }
});
- $dbus->{connection}->add_match("type='signal',interface='com.mandriva.monitoring.wireless'");
}
network::connection_manager::setup_dbus_handlers(\@cmanagers, \@connections, undef, $dbus) if $dbus;