summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/browser/chromeos/network_login_observer.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/chromeos/network_login_observer.cc b/chrome/browser/chromeos/network_login_observer.cc
index 55814a0..0956f77 100644
--- a/chrome/browser/chromeos/network_login_observer.cc
+++ b/chrome/browser/chromeos/network_login_observer.cc
@@ -56,10 +56,12 @@ void NetworkLoginObserver::OnNetworkManagerChanged(NetworkLibrary* cros) {
WifiNetwork* wifi = *it;
if (wifi->notify_failure()) {
// Display login dialog again for bad_passphrase and bad_wepkey errors.
+ // Always re-display for user initiated connections that fail.
// Always re-display the login dialog for encrypted networks that were
// added and failed to connect for any reason.
if (wifi->error() == ERROR_BAD_PASSPHRASE ||
wifi->error() == ERROR_BAD_WEPKEY ||
+ wifi->connection_started() ||
(wifi->encrypted() && wifi->added())) {
CreateModalPopup(new NetworkConfigView(wifi));
return; // Only support one failure per notification.