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.pm7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/network/connection_manager.pm b/lib/network/connection_manager.pm
index cdf0e2d..7369636 100644
--- a/lib/network/connection_manager.pm
+++ b/lib/network/connection_manager.pm
@@ -66,7 +66,12 @@ sub setup_connection {
$cmanager->{in}->ask_warn(N("Error"), $cmanager->{connection}{device}{error});
return;
}
- my $device_ready = !$cmanager->{connection}->can('check_hardware') || $cmanager->{connection}->check_hardware;
+ my $device_ready = 1;
+ if ($cmanager->{connection}->can('check_hardware')) {
+ #- FIXME: change message to "Checking device..." in cooker
+ my $_wait = $cmanager->{in}->wait_message(N("Please wait"), N("Configuring device..."));
+ $device_ready = $cmanager->{connection}->check_hardware;
+ }
if ($cmanager->{connection}->can('get_hardware_settings') && !$device_ready) {
$cmanager->{connection}->guess_hardware_settings if $cmanager->{connection}->can('guess_hardware_settings');
$cmanager->{in}->ask_from_({