summaryrefslogtreecommitdiffstats
path: root/lib/network
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2009-02-25 16:34:01 +0000
committerOlivier Blin <oblin@mandriva.com>2009-02-25 16:34:01 +0000
commit86822f464fdef1d96c93d540cd46eb81ae6bc6fb (patch)
treea33877bcad31e53bc0553957afb0db182b56bff2 /lib/network
parent81d183ec6559da0483ae596906de377c467cf094 (diff)
downloaddrakx-net-86822f464fdef1d96c93d540cd46eb81ae6bc6fb.tar
drakx-net-86822f464fdef1d96c93d540cd46eb81ae6bc6fb.tar.gz
drakx-net-86822f464fdef1d96c93d540cd46eb81ae6bc6fb.tar.bz2
drakx-net-86822f464fdef1d96c93d540cd46eb81ae6bc6fb.tar.xz
drakx-net-86822f464fdef1d96c93d540cd46eb81ae6bc6fb.zip
CTRL-EVENT-CONNECTED does not have to be handled, further status will be handled by interface status code
Diffstat (limited to 'lib/network')
-rw-r--r--lib/network/connection_manager.pm5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/network/connection_manager.pm b/lib/network/connection_manager.pm
index f859025..32a5fcb 100644
--- a/lib/network/connection_manager.pm
+++ b/lib/network/connection_manager.pm
@@ -475,9 +475,8 @@ sub setup_dbus_handlers {
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/) {
+ # CTRL-EVENT-CONNECTED does not have to be handled, further status will be handled by interface status code
+ if ($event =~ /Authentication with (.+?) timed out/) {
undef $cmanager->{wait_message};
$cmanager->{in}->ask_warn(N("Error"), N("Connection failed."));
}